[
http://jira.jboss.com/jira/browse/JBPORTAL-1970?page=all ]
Chris Laprun resolved JBPORTAL-1970.
------------------------------------
Fix Version/s: Common-1.2
(was: Common-1.0.1)
Resolution: Done
Assignee: Chris Laprun
FastURLDecoder / enhance error message
---------------------------------------
Key: JBPORTAL-1970
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1970
Project: JBoss Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: Common-1.0
Environment: JBP 2.6.4
Reporter: Antoine Herzog
Assigned To: Chris Laprun
Priority: Minor
Fix For: Common-1.2
Original Estimate: 10 minutes
Remaining Estimate: 10 minutes
small thing :
in FastURLDecoder class
at line : 329
line is : throw new MalformedInputException("Cannot decode char " + c);
Adding some "[" and "]." would be better :
throw new MalformedInputException("Cannot decode char [" + c +
"].");
usual error case is a blank space in the url... and then the message MAY be confusing
(nothing is shown).
it will help when someone have this kind of error on bad char in the url.
thanks,
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira