Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
encoding
category
virtual modelaRes.redirect(req.get('referer'));
or express@4.x shortcut ofaRes.redirect('back');
... but if referer is missing will default to/
Ref: http://expressjs.com/en/api.html#res.redirect ... this still appears to be a bug in express for quite some time so this is a workaroundredirect()
doingescape
on occasion ... special handling ofredirect
.... this particular bug doesn't appear to make much senseNOTES
fork.utf
to existing forks otherwise they may show up as/
(or a list bullet) Array typed values write themselves... interesting.discussion.path
fixes. (ready)encode
to be a smarter encode where it only encodes when needed... which is where it started but had to back that out in this PR./app.js
has oneencodeURI
in it... leaving that be for the time being until it can be retested on production... dev isn't https so no way to test hereApplies to #819 and #262... treads on #262 (comment) among many others.