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 2002/06/24 12:05:32 UTC

DO NOT REPLY [Bug 10171] New: - MIME types of the files residing within a security realm do not seem to properly return to the Internet Explorer.

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10171

MIME types of the files residing within a security realm do not seem to properly return to the Internet Explorer.

           Summary: MIME types of the files residing within a security realm
                    do not seem to properly return to the Internet Explorer.
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: All
               URL: http://www.aist-nara.ac.jp
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Critical
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: koyama@itc.aist-nara.ac.jp
                CC: koyama@itc.aist-nara.ac.jp


For Tomcat4.0, I made the security zone(directories) using
JDBC realm.When accessing the files in that zone by the 
Internet Explorer, MIME types of the embedded gif and jpeg 
files are not recognized by the browser.The property of those
filed is always bitmap (and 'unusable') and thus those files
can not be cached to the Temporary Internet Files directory.

Looking at the log files, Tomcat4.0 always return 200 code 
with the bit stream of the file.This means the browser can
not understand the MIME type the server sent. If once security
realm released, then the browser recognizes the Mime type and 
thus it caches.If again creating the security realm makes the 
browser send the information of the cache to the server. Thus,
the server returns 304 code to the browser and thus it recognizes 
MIME type.

There is no such problem in Netscape and there is no such 
problem for Tomcat3.0,too.The OSs of Solaris,Windows NT and XP
were tested,resulting the same problem.This morning I tried 
Tomcat4.13.But the same problem was observed.

Looking forward to getting the implementer's reply, hopefully to my 
E-mail address koyama@itc.aist-nara.ac.jp,too.Thanks in advance.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>