[WebKit-devel] [Bug 261223] Download name of link targets containing special characters get ignored

squan at web.de squan at web.de
Sun Jan 9 16:22:41 CET 2011


https://bugs.kde.org/show_bug.cgi?id=261223


squan at web.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #10 from  <squan web de>  2011-01-09 16:22:39 ---
> The server _must_ send everything that does not fall into US-ASCII as quoted string
> (and even strings that have a special set of US-ASCII characters).
Ok, so that shows that save.tv server clearly violates web standards.
But please don't expect save.tv to be a rare exception but take it as just an
example.
Firefox and chromium (e.g.) work around this RfC violation and properly extract
the filename from the server response. Expect that all major browsers do like
this.
And so should KDE browsers.
Just proving that the server isn't RfC compliant is not a sufficient
justification to close this bug as INVALID.

> So the server just sends garbage and the browser just ignores it.
The attribute value in question is no garbage but just missing the quotes
required by RfC 2216.

> There would be other ways of solving this problem by guessing,
> but guessing would fail sometimes and make the code much more complicated.
Just disdarding the filename attribute of the server response severely hampers
downloads because the user has to retrieve and enter it manually in each single
case.
May be that diffentiation of a token from a string missing quotes will be a bit
messy, but I think fixing this use case for all KDE browsers is worth it.

> So please go and bug save.tv to fix their JavaScript.
Inspite major browsers coping with this RfC incompliance without problem I have
not much hope to succeed with that.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list