DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32505


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From [EMAIL PROTECTED]  2004-12-06 17:01 -------
I thought I had marked this as fixed earlier. Odd.
The problem was that the context attribute was not handled properly if it was
present but empty (and since an empty path is the root of the filesystem, at
least on Windows ...). The patch is very simple.

  RCS file:
/home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ManagerServlet.java       23 Sep 2004 07:03:27 -0000      1.22
  +++ ManagerServlet.java       3 Dec 2004 15:35:25 -0000       1.23
  @@ -737,6 +737,9 @@
       protected void deploy(PrintWriter writer, String config,
               String path, String war, boolean update) {
           
  +        if (config != null && config.length() == 0) {
  +            config = null;
  +        }
           if (war != null && war.length() == 0) {
               war = null;
           }


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to