[OS-JIRA] Created: (WOL-1209) [Patch] ClickToOpen is broken. One line fix :)

"Ramsey Gurley (JIRA)" <[email protected]> Wed, 25 May 2011 14:08:50 +0000 (UTC)
Newsgroups gmane.comp.web.webobjects.woproject.devel
Message-ID <1586852349.50.1306332530922.JavaMail.tomcat@us-rs01.objectstyle.com>
[Patch] ClickToOpen is broken. One line fix :)
----------------------------------------------

                 Key: WOL-1209
                 URL: http://issues.objectstyle.org/jira/browse/WOL-1209
             Project: WOProject/WOLips
          Issue Type: Bug
            Reporter: Ramsey Gurley


I'd create a patch for this, but can't figure out how to with git :)  It's a one liner:

In org.objectstyle.wolips.womodeler.server.Request.parsePathAndQuery() add a line to replace &amp; with &. (Currently line 253) This will handle encoded & in href attributes which is required by xhtml.

      _queryString = _pathAndQueryString.substring(queryStringIndex + 1);
      _queryString = _queryString.replace("&amp;", "&");


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira