Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Fix for issue 1383 #2621

Closed
wants to merge 1 commit into from
Closed

Fix for issue 1383 #2621

wants to merge 1 commit into from

Conversation

hiroprotagonist
Copy link

Hello
this patch fixes: #1383
Since this is a firefox only problem that mini patch should work

@@ -180,7 +180,7 @@

//set location hash to path
set: function( path ) {
location.hash = path;
location.hash = jQuery.browser.mozilla ? escape(path) : path;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure this is the proper place for this escape. We get paths from several places in the system, so we need to make sure we don't end up escaping something that may already be escaped. We'll need to discuss this amongst the group.

@johnbender
Copy link
Contributor

I think we need to address escaping these path's in general (for data-url's as well).

@hiroprotagonist

Thanks for the submission either way!

@johnbender johnbender closed this Dec 5, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

changePage breaks when data hash contains parentheses/apostropes
3 participants