Url en/decoding needs to be revised

Bug #1209167 reported by André Stösel
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
High
Cris Dywan

Bug Description

Quote gue5t:

...urls like "http://www.google.com/%21%00ok" to not decode any characters, whereas the url "http://www.google.com/%21ok" gets normalized to "http://www.google.com/!ok" for display. Presumably we should ensure that 0x00 characters are not urldecoded while still decoding the others.

We also shouldn't ever decode %25 (encoded '%'), because doing so can cause hitting enter in the url bar to change the actual url, e.g. a page which is locally on disk as "get%100.html" would be urlencoded as "get%25100.html" but would request "get%100.html" when the user hits enter in the urlbar after visiting the page.

Tags: encoding

Related branches

André Stösel (ivaldi)
Changed in midori:
status: New → Confirmed
importance: Undecided → High
tags: added: encoding
Cris Dywan (kalikiana)
Changed in midori:
assignee: nobody → Christian Dywan (kalikiana)
milestone: none → 0.5.6
Cris Dywan (kalikiana)
Changed in midori:
milestone: 0.5.6 → 0.5.7
Cris Dywan (kalikiana)
Changed in midori:
milestone: 0.5.7 → garage
Revision history for this message
gue5t gue5t (gue5t) wrote :

This also breaks duplicating tabs showing these urls; see bug #1350456.

Changed in midori:
status: Confirmed → In Progress
gue5t gue5t (gue5t)
Changed in midori:
status: In Progress → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
Changed in midori:
milestone: garage → 0.5.11
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.