----- Original Message ----- From: "Brian Olore" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 1:41 AM Subject: escaped url problems
> Hi all, > > I need help! I can't retrieve the TRUE file name as it exists on my > webserver. Seems that it has to do with URL escaping, but I can't put my > finger on where the exact problem is. > > The filename as it exists on my server is PERCENT%20HERE.html > I am using the listWebdavResources() in WebdavResource, then for each > WebdavResource that is returned, I execute and get the following > > getPath() :/test1/PERCENT HERE.html > getHttpURL().getPath() :/test1/PERCENT HERE.html > getHttpURL().getEscapedPath() :/test1/PERCENT%20HERE%2Ehtml > getHttpURL().getURI() :https://servername.com/test1/PERCENT HERE.html > getHttpURL().getEscapedURI() > :https://servername.com/test1/PERCENT%20HERE%2Ehtml > > can someone please tell me how I can get the TRUE filename as it exists on > the server: PERCENT%20HERE.html > What kills me is that MS Webfolders displays it correctly. please help! I think when we integrate HttpURL class with org.apache.util.URI, we can get it correctly... without any misuses... It's not integrated yet... And also with other problems with encoding thingy... > > Thanks > > Brian > [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
