-
Notifications
You must be signed in to change notification settings - Fork 27.4k
fix($route): fix redirection with optional/eager params #9827
fix($route): fix redirection with optional/eager params #9827
Conversation
496e6ab
to
a7816d1
Compare
a7816d1
to
be80b5b
Compare
With regard to #9819 (comment), why not merge this one and close the resolved/duplicate issues issues and PRs (as detailed in the aforementioned comment), until #8200 is merge-ready (i.e. has satisfactory test-coverage) ? |
be80b5b
to
04f38fd
Compare
04f38fd
to
f398e80
Compare
@pkozlowski-opensource: The diff for gkalpak@5f54934 is kind of "deceiving". If you take a look at https://github.com/gkalpak/angular.js/blob/22ddfe570aaa2855f24bf3655c757f1d9226209b/test/ngRoute/routeSpec.js#L265 there is this route defined:
What the tests are trying to show is that the The 1st test tests for the |
641a51d
to
0265bea
Compare
@gkalpak OK, I see, this makes sense. Thnx for clarifying. |
@pkozlowski-opensource: I never said my PR should be closed in favor of #8200 (in those exact words :P). Basically, I would merge this PR (mainly for the test-name fixes and the additonal test-case). |
6442ff1
to
0efb43c
Compare
Previously, when (automatically) redirecting from path that fetured a trailing slash and optional or "eager" parameters, the resulting path would (incorrectly) contain the special characters (`?`,`*`) along with the parameter values. Closes angular#9819
0efb43c
to
b414e5e
Compare
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/. If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits. Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name. |
Previously, when (automatically) redirecting from path that fetured a trailing slash and optional or "eager" parameters, the resulting path would (incorrectly) contain the special characters (
?
,*
) along with the parameter values.(There is also a first (unrelated) commit, that fixes the names of 2 tests in
routeSpec
.)Closes #9819