Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1757, do not resolve hash-only urls used for routing #1780

Merged
merged 1 commit into from
Jun 8, 2015
Merged

Fixes #1757, do not resolve hash-only urls used for routing #1780

merged 1 commit into from
Jun 8, 2015

Conversation

nippur72
Copy link
Contributor

@nippur72 nippur72 commented Jun 8, 2015

Fixes #1757 by applying the same fix that was used in 0.5 in #651:

polymer/src/lib/url.js

Lines 103 to 106 in c716964

// do not resolve '#' links, they are used for routing
if (url && url[0] === '#') {
return url;
}

@dfreedm
Copy link
Member

dfreedm commented Jun 8, 2015

I'll merge this and add a test. Thanks!

dfreedm added a commit that referenced this pull request Jun 8, 2015
Fixes #1757, do not resolve hash-only urls used for routing
@dfreedm dfreedm merged commit ac90bb6 into Polymer:master Jun 8, 2015
dfreedm added a commit that referenced this pull request Jun 8, 2015
@nippur72 nippur72 deleted the hash-urls branch June 9, 2015 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.0.3] Do not resolve hash-only urls used for routing
3 participants