hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23708] - DefaultHttpParamsFactory violates applet sandbox
Date Thu, 09 Oct 2003 21:02:30 GMT
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=23708>.
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=23708

DefaultHttpParamsFactory violates applet sandbox





------- Additional Comments From Brian_Scully@adp.com  2003-10-09 21:02 -------
I've got a similiar issue in both org.apache.commons.httpclient.URI (my 
modified code follows):

        // in order to support platform encoding
        try {
          defaultDocumentCharsetByPlatform = System.getProperty
("file.encoding");
          if (defaultDocumentCharset == null) {
            // set the default document charset
            defaultDocumentCharset = defaultDocumentCharsetByPlatform;
          }
        }
        catch (SecurityException dontCare) { }

as well as org.apache.commons.httpclient.HttpClient:

    static {

        if (LOG.isDebugEnabled()) {
            try {
              LOG.debug("Java version: " + System.getProperty("java.version"));
              LOG.debug("Java vendor: " + System.getProperty("java.vendor"));
              LOG.debug("Java class path: " + System.getProperty
("java.class.path"));
              LOG.debug("Operating system name: " + System.getProperty
("os.name"));
              LOG.debug("Operating system architecture: " + System.getProperty
("os.arch"));
              LOG.debug("Operating system version: " + System.getProperty
("os.version"));
            }
            catch (SecurityException dontCare) { }

            Provider[] providers = Security.getProviders();

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message