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/10/20 08:32:35 UTC

[Bug 60281] New: Pathname of uploaded WAR file should not be contained in contextpath.

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

            Bug ID: 60281
           Summary: Pathname of uploaded WAR file should not be contained
                    in contextpath.
           Product: Tomcat 8
           Version: 8.0.37
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: masahiroyamada.tkk@gmail.com

Steps to reprocuce

1. Enable "Include local directory path when uploading files to a server" in
"Internet Options"
2. Upload C:\myapps_war_upload\myapp.war to manager. and deploy it.
3. See result

Expected result:
  Context path of application should be /myapp

Actual Result:
  Context path of application is /C:myapps_war_uploadmyapp

FYI:
 When uploading WAR file to manager app,
 IE may send full path name of war file.
 (Denpends on "Include local directory path when uploading files to a server"
in "Internet Options")

 See also
http://commons.apache.org/proper/commons-fileupload/faq.html#whole-path-from-IE

-- 
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 60281] Pathname of uploaded WAR file should not be contained in contextpath.

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

Masahiro YAMADA <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #3 from Masahiro YAMADA <ma...@gmail.com> ---
-> VERIFIED.

This bug should be merged to bug 59115.

-- 
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 60281] Pathname of uploaded WAR file should not be contained in contextpath.

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

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

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
IE is not specification compliant. It is sending an invalid content disposition
header.

See bug 59115 for a fuller discussion.

You need to raise a bug with Microsoft.

-- 
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 60281] Pathname of uploaded WAR file should not be contained in contextpath.

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

Emmanuel Bourg <eb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED

-- 
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 60281] Pathname of uploaded WAR file should not be contained in contextpath.

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

Masahiro YAMADA <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Masahiro YAMADA <ma...@gmail.com> ---
> Steps to reprocuce
> 
> 1. Enable "Include local directory path when uploading files to a server" in
> "Internet Options"
> 2. Upload C:\myapps_war_upload\myapp.war to manager. and deploy it.
> 3. See result
> 

Steps is not complete. There step needs Internet Explorer.

1. Enable "Include local directory path when uploading files to a server" in
"Internet Options" of Internet Explorer.
2. Upload C:\myapps_war_upload\myapp.war to manager. and deploy it using IE
configured at Step 1 
3. See result

-- 
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