forked from tildeio/route-recognizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not encode chars that are allowed in path segments
During route generation, for dynamic segments, do not percent-encode characters that, according to RFC 3986, are allowed in path segments. RFC 3986 defines "sub-delims" (these chars: `! $ & ' ( ) * + , ; =`) and specifies that they along with `:` and `@` are allowed in path segments in URIs. See: https://tools.ietf.org/html/rfc3986#section-3.3 This commit changes RouteRecognizers generation code for dynamic segments to explicitly avoid encoding those characters. Fixes emberjs/ember.js#14094
- Loading branch information
Showing
3 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters