You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/12/29 09:13:34 UTC

[Bug 60529] New: Manager encodes w underscore to %5F, which leads to error

https://bz.apache.org/bugzilla/show_bug.cgi?id=60529

            Bug ID: 60529
           Summary: Manager encodes w underscore to %5F, which leads to
                    error
           Product: Tomcat 8
           Version: 8.0.32
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: joan.juvanteny@bassolsenergia.com
  Target Milestone: ----

When I deploy an app in tomcat that has underscores it shows them as %5F in the
manger list of apps. When I open that link in firefox (or any browser that
keeps the %5F as is), it shows an error "HTTP Status 500 - The servlet context
path and/or the servlet path contain characters that are percent encoded"
If I copy the url and replace %5F with an underscore it works as expected. In
chrome it also works because it automatically manipulates the url into a proper
underscore.

It sounds a bit similar to this old bug
https://bz.apache.org/bugzilla/show_bug.cgi?id=40952

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60529] Manager encodes w underscore to %5F, which leads to error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60529

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Neither the latest 8.0.x nor the latest 9.0.x encode '_' if it appears in the
context path. Further, the relevant code appears to date back to ~2008 without
change.

This looks to be a local configuration issue of some kind.

If you can reproduce this with the latest release of any supported Tomcat
version then please feel free to re-open this and provide the simplest possible
set of stepd to reproduce the issue from a clean install.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org