The following comment has been added to this issue:
Author: Rene Gielen
Created: Mon, 25 Aug 2003 4:47 PM
Body:
>From w3c definition of html 4.01:
B.2.2 Ampersands in URI attribute values
The URI that is constructed when a form is submitted may be used as an anchor-style
link (e.g., the href attribute for the A element). Unfortunately, the use of the "&"
character to separate form fields interacts with its use in SGML attribute values to
delimit character entity references. For example, to use the URI
"http://host/?x=1&y=2" as a linking URI, it must be written <A
href="http://host/?x=1&y=2"> or <A href="http://host/?x=1&y=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.
(http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2)
Hmmm... So the recommendation is ; - not & and not &
Looking at such familiar places like google, we are always confronted with the good
old & ... quite confusing.
But, again, Problem with & stays - our setup with tomcat 4.1.24 and Mozilla 1.3 /
1.4 messes up. Will try the ; syntax and give a report, but I suppose it might be
safer to use & than & - not by definition, but by empiricism...
---------------------------------------------------------------------
View the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-265
Here is an overview of the issue:
---------------------------------------------------------------------
Key: WW-265
Summary: UrlHelper.java uses & entity instead of & to add GET parameters
Type: Bug
Status: Assigned
Priority: Critical
Project: WebWork
Components:
Views
Versions:
2.0-beta1
Assignee: Patrick Lightbody
Reporter: Rene Gielen
Created: Mon, 25 Aug 2003 12:50 PM
Updated: Mon, 25 Aug 2003 12:51 PM
Description:
When having more than one GET parameter appended to a url, the UrlHelper Util uses
UTF-8 entity to seperate parameters. This is wrong...
Attached small diff against java.net CVS HEAD
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.opensymphony.com/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork