REST API treats URL encoded forward slash as a slash
Bug #788687 reported by
Michał Karnicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Confirmed
|
High
|
Vincenzo Di Somma |
Bug Description
If the filename contains URL encoded forward slash %2F
Result:
The server decodes that as a slash and instead of foo%2Fbar.png you'll get a folder foo and a file bar.png in it.
Expected behaviour:
Create file foo%2Fbar.png
visibility: | private → public |
Changed in ubuntuone-servers: | |
importance: | Undecided → Critical |
assignee: | nobody → Vincenzo Di Somma (vds) |
Changed in ubuntuone-servers: | |
importance: | Critical → High |
To post a comment you must log in.
Changing status to Confirmed, server is OOPSing on such filenames, google map icons for instance. I'll probably fix this on the client side replacing % with _, but that's just temporary fix, it's not the client fault that a filename may contain URL encoded characters. Stuart Langridge said it's clearly a bug.