Validation warning about & in URL parameters

Description

FF plugin HTML Validator (based on W3C Tidy) complains about HTML like this:

<a href="#" title="Message of the Day Options" onclick="location = 'http://nightly.cet.uct.ac.za:8080/portal/tool/~admin-110?panel=Main&sakai_action=doOptions';return false;">

from tool toolbars, specifically that & (e.g. &sakai_action...) should be encoded to &amp; citing inter alia this reference: http://ppewww.ph.gla.ac.uk/%7Eflavell/www/formgetbyurl.html

Activity

Show:

Stephen Marquard May 5, 2007 at 12:44 PM

Still an issue in Schedule and many OSP tools.

Stephen Marquard April 27, 2007 at 7:16 AM

r29722 addresses the most common case. It's not clear whether the velocity code is actually used and if so needs to be fixed, but I don't have commit access there anyway, so am leaving this open for the meantime.

Stephen Marquard April 27, 2007 at 2:55 AM

Relevant code is in portal/portal-util/util/src/java/org/sakaiproject/portal/util/ToolURLManagerImpl.java and a possibly unused fallback implementation for Velocity tools in velocity/tool/src/java/org/sakaiproject/vm/ActionURL.java

Gonzalo Silverio March 9, 2006 at 10:43 AM

This is a framework issue, Peter.

Gonzalo Silverio November 2, 2005 at 4:09 PM

You are quite right. Will you log it as such? Many thanks.

Won't Fix

Details

Priority

Components

Assignee

Reporter

Created November 2, 2005 at 2:18 PM
Updated April 16, 2018 at 1:52 PM
Resolved April 16, 2018 at 1:52 PM