HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Problem in Safari with url-encoded Swedish letters in image file names / URLs
I'm a user of the forum http://johnajvide.com/hem/, and I have found a problem with Safari and that forum, which might be rooted in Vanilla.
In http://johnajvide.com/john/den-ratte/ an image is missing in Safari on Mac OS X, but not in Opera, Chrome, or Firefox.
It seems the problem is rooted in the URL-encoding of the letter ä. The source code uses http://johnajvide.com/wp-content/uploads/2011/08/den-rätte.jpg, where the letter ä is encoded as hex 61 CC C8. In Safari, this is transformed to hex C3 A4, which does encode the letter ä. However, the server doesn't recognise the resulting url: http://johnajvide.com/wp-content/uploads/2011/08/den-rätte.jpg
The other browsers do not change the encoding, thus http://johnajvide.com/wp-content/uploads/2011/08/den-rätte.jpg works fine.
The problem might be a result of Safari being overambitious, re-encoding the letter ä, but Safari still seems to create a correctly encoded letter ä in its url. However, the site doesn't recognise the url in this format. Maybe it should.
In http://johnajvide.com/john/den-ratte/ an image is missing in Safari on Mac OS X, but not in Opera, Chrome, or Firefox.
It seems the problem is rooted in the URL-encoding of the letter ä. The source code uses http://johnajvide.com/wp-content/uploads/2011/08/den-rätte.jpg, where the letter ä is encoded as hex 61 CC C8. In Safari, this is transformed to hex C3 A4, which does encode the letter ä. However, the server doesn't recognise the resulting url: http://johnajvide.com/wp-content/uploads/2011/08/den-rätte.jpg
The other browsers do not change the encoding, thus http://johnajvide.com/wp-content/uploads/2011/08/den-rätte.jpg works fine.
The problem might be a result of Safari being overambitious, re-encoding the letter ä, but Safari still seems to create a correctly encoded letter ä in its url. However, the site doesn't recognise the url in this format. Maybe it should.
0