tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stubenrauch,Andreas" <me...@erv.de>
Subject RE: BugRat Report #487 - encodeURL() not working in SSL Scheme (B ug in HttpServletResponseFacade.toAbsolut(String url))
Date Mon, 11 Dec 2000 08:28:57 GMT
Hi,
Sorry but bugrat swallowed the workaround:
You can install JSSE (Java security Extensions) and set the properties to
use the https URLStreamHandler included within there. (Put the JSSE jars in
your classpath and add
 -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol to your
Java commandline.)

This solves the problem with the MalformedURLException, but I just noticed
that under some circumstances the encodeURL() still doesn't work.

Regards,
Andreas

p.s. Sorry for the typo in the Bug report my  e-mail is mex02@erv.de feel
free to contact me again

> -----Original Message-----
> From: Elsen Christian 
> Sent: Monday, December 11, 2000 9:07 AM
> To: Stubenrauch,Andreas
> Subject: WG: BugRat Report #487 - encodeURL() not working in 
> SSL Scheme
> (Bug in HttpServletResponseFacade.toAbsolut(String url))
> 
> 
> 
> 
> > -----Urspr√ľngliche Nachricht-----
> > Von: BugRat Mail System [mailto:tomcat-bugs@cortexity.com] 
> > Gesendet am: Donnerstag, 7. Dezember 2000 19:33
> > An: Elsen Christian
> > Betreff: BugRat Report #487 - encodeURL() not working in SSL 
> > Scheme (Bug
> > in HttpServletResponseFacade.toAbsolut(String url))
> > 
> > ----- Sender's Comment -----
> > Have you any workaround or patch for this bug??
> > 
> > I'll go after it in a while, and want your input if it's possible.. 
> > 
> > Thanks
> > 
> > Saludos, Ignacio Ortega
> > ----- End Of Sender's Comment ---------------------------
> > Report URL: 
> <http://znutar.cortexity.com/BugRatViewer/ShowReport/487>
> > 
> > Report #487 Details
> > 
> > Project: Tomcat
> > Category: Bug Report
> > SubCategory: New Bug Report
> > Class: swbug
> > State: received
> > Priority: high
> > Severity: critical
> > Confidence: public
> > Environment: 
> >    Release: 3.2 Final
> >    JVM Release: 1.3
> >    Operating System: Linux/NT
> >    OS Release: 2.2.16/4
> >    Platform: i386
> > 
> > Synopsis: 
> > encodeURL() not working in SSL Scheme (Bug in 
> > HttpServletResponseFacade.toAbsolut(String url))
> > 
> > Description:
> > encodeURL() does not work if the request is sent over 
> > https. This is caused in 
> > 
> > org.apache.tomcat.facade.HttpServletResponseFacade.toAbsolut(S
> > tring url)
> > 
> > where an absolute URL is constructed by using new URL(URL, spec)
> > This will throw an MalformedURLException if the URL is https,
> > because no URLStreamHandler exsist for https.
> > (Because of this exception the URL is assumed not to be 
> > encodable)
> > 
> > 
> 

Mime
View raw message