Skip to content

fix(router): encode URLs the same way AngularJS did (closer to spec) - #17890

Merged
jasonaden merged 1 commit into
angular:masterfrom
jasonaden:fix_16067_commas_in_query
Jul 7, 2017
Merged

jasonaden merged 1 commit into
angular:masterfrom
jasonaden:fix_16067_commas_in_query

Conversation

@jasonaden

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread packages/router/src/url_tree.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra i

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

case

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why ?

@jasonaden
jasonaden force-pushed the fix_16067_commas_in_query branch from a685d53 to 47520c1 Compare June 30, 2017 21:53
@mary-poppins

Copy link
Copy Markdown

Comment thread packages/router/src/url_tree.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't want .toUpperCase() outside of encoded char (low should remain low -> add test)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, for sure. That broke a test or two. I'll add an expectation.

@vicb vicb Jun 30, 2017 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Converted -> Encoded ? (and below)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@mary-poppins

Copy link
Copy Markdown

@jasonaden
jasonaden force-pushed the fix_16067_commas_in_query branch from 47520c1 to 85a78a0 Compare July 1, 2017 00:16
@jasonaden
jasonaden force-pushed the fix_16067_commas_in_query branch from 85a78a0 to efd78fd Compare July 1, 2017 00:25
@mary-poppins

Copy link
Copy Markdown

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: router cla: yes type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants