You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug: Backbone anything that has URI encoded characters (spaces and quotation marks) in the fragment triggers loadUrl twice in the navigate function
#4188
Closed
tsangjustin opened this issue
Mar 21, 2018
· 1 comment
When I pass URI encoded characters such as spaces and quotation marks into the fragment navigate will decode the fragment and store that in this.fragment. When checkUrl is later on triggered it will detect that the fragment has changed even though it hasn't the encoded and decoded version of the fragment is compared and makes them not equal. This causes loadUrl to be triggered and load the encoded version of the fragment.
The text was updated successfully, but these errors were encountered:
tsangjustin
changed the title
Bug: Backbone anything that has URI encoded characters (spaces and quotation marks) in the fragment triggers
Bug: Backbone anything that has URI encoded characters (spaces and quotation marks) in the fragment triggers loadUrl twice in the navigate function
Mar 21, 2018
When I pass URI encoded characters such as spaces and quotation marks into the fragment navigate will decode the fragment and store that in this.fragment. When checkUrl is later on triggered it will detect that the fragment has changed even though it hasn't the encoded and decoded version of the fragment is compared and makes them not equal. This causes loadUrl to be triggered and load the encoded version of the fragment.
The text was updated successfully, but these errors were encountered: