[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    Bug#38466: marked as done (konqueror replaces semicolons in links with %3b) by Malte Starostik <malt
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2002-02-28 13:48:03
[Download RAW message or body]

Your message with subj: konqueror replaces semicolons in links with %3b

Thank you for your bug report.
The bug that you reported has been identified, and has been fixed in the
latest development (CVS) version of KDE. The bug report will be closed.

-- 
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A  27CD 5431 7745 D2F3 C787]


has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 20 Feb 2002 20:18:23 +0000
Received: (qmail 18667 invoked by uid 33); 20 Feb 2002 20:18:23 -0000
Date: 20 Feb 2002 20:18:23 -0000
Message-ID: <20020220201823.18666.qmail@mail.kde.org>
To: submit@bugs.kde.org
Subject: konqueror replaces semicolons in links with %3b
From: kde@alk.org.lu
X-KDE-Received: -213.166.62.191

Package:           konqueror
Version:           4.0 (using KDE 2.9.0 2 (3.0 beta2))
Severity:          normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.16-4GB
OS/Compiler notes: 

When given the following URL: <a href="test2.cgi?a=b;c=d">X</a>, konqueror will go to \
test2.cgi?a=b%3Bc=d instead. This interoperates badly with the CGI perl module, which \
generates semicolons in URLs as a separator for name-value pairs (instead of the \
traditional ampersand). Here an extract of CGI's manpage:

      -newstyle_urls
           Separate the name=value pairs in CGI parameter query strings
           with semicolons rather than ampersands.  For example:

              ?name=fred;age=24;favorite_color=3

           Semicolon-delimited query strings are always accepted, but
           will not be emitted by self_url() and query_string() unless
           the -newstyle_urls pragma is specified.

           This became the default in version 2.64.

(btw, is there any way to get this bug-reporting textarea wider, or at least add a \
preview button. I'm not sure how legible the above will be...)

After transforming the ; into %3b, the receiving perl script will misinterpret this \
as a litteral semicolon, rather than as a separator.

This behaviour of Perl's CGI module is conformant with a recent W3C recommandation, \
see heading B.2.2 at \
http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2  :

"We recommend that HTTP server implementors, and in particular, CGI implementors \
support the use of ";" in place of "&" to save authors the trouble of escaping "&" \
characters in this manner."

IMHO, browser implementors should not interfere with this recommendation and refrain \
from improperly escaping semicolons in URLs. (However, in form contents, semicolons \
_should_ be escaped, for obvious reasons...)


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)

_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic