[JIRA] Created: (STS-900) ForwardResolution to non existing JSP without leading slash (/) triggers validation error instead of 404

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (STS-900) ForwardResolution to non existing JSP without leading slash (/) triggers validation error instead of 404

JIRA jira@stripesframework.org
ForwardResolution to non existing JSP without leading slash (/) triggers validation error instead of 404
--------------------------------------------------------------------------------------------------------

                 Key: STS-900
                 URL: http://www.stripesframework.org/jira/browse/STS-900
             Project: Stripes
          Issue Type: Bug
    Affects Versions: Release 1.5.7
            Reporter: Remi VANKEISBELCK
            Assignee: Remi VANKEISBELCK
            Priority: Minor
             Fix For: Release 1.5.8, Release 1.6


When using clean URLs if the action handler returns a ForwardResolution to a path that dpoesn't start with a leading "/" (slash) then a validation error is raised (with the source page not found message) instead of a 404.

One should not forward to non existing JSP, otoh the error is misleading here.

Test case available there :
https://github.com/vankeisb/stripescleanurlsbug

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

       

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (STS-900) ForwardResolution to non existing JSP without leading slash (/) triggers validation error instead of 404

JIRA jira@stripesframework.org

     [ http://www.stripesframework.org/jira/browse/STS-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remi VANKEISBELCK resolved STS-900.
-----------------------------------

    Resolution: Won't Fix

Happens to be harder to fix than the actual benefit, as I doubt anyone but me faced this bug.
We'll reopen if needed, for now, closing as won't fix.

> ForwardResolution to non existing JSP without leading slash (/) triggers validation error instead of 404
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STS-900
>                 URL: http://www.stripesframework.org/jira/browse/STS-900
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.5.7
>            Reporter: Remi VANKEISBELCK
>            Assignee: Remi VANKEISBELCK
>            Priority: Minor
>             Fix For: Release 1.5.8, Release 1.6
>
>
> When using clean URLs if the action handler returns a ForwardResolution to a path that dpoesn't start with a leading "/" (slash) then a validation error is raised (with the source page not found message) instead of a 404.
> One should not forward to non existing JSP, otoh the error is misleading here.
> Test case available there :
> https://github.com/vankeisb/stripescleanurlsbug

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

       

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development