Slash ignored when getting event name from path info
----------------------------------------------------
Key: STS-586
URL: http://www.stripesframework.org/jira/browse/STS-586
Project: Stripes
Issue Type: Bug
Components: ActionBean Dispatching
Affects Versions: Release 1.5
Reporter: Ben Gunter
Priority: Minor
Fix For: Release 1.5
In AnnotatedClassActionResolver.getEventNameFromPath():
String event = extra.substring(0, Math.max(extra.indexOf("/"),
extra.length()));
The expression Math.max(extra.indexOf("/"), extra.length()) always returns
extra.length(), which is not what was intended.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development