From: SourceForge.net <no...@so...> - 2003-03-04 16:41:58
|
Bugs item #697350, was opened at 2003-03-04 17:51 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=697350&group_id=4866 Category: WebKit Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dietmar Schwertberger (dschwertberger) Assigned to: Nobody/Anonymous (nobody) Summary: HTTPServlet.servletURI index errors Initial Comment: The following fixes some index errors: def servletURI(self): """This is the URI of the servlet, without any query strings or extra path info""" sspath=self.serverSidePath() #ensure that extraURLPath has been stripped pinfo=self.pathInfo() if not self._extraURLPath: if pinfo and pinfo[-1]=="/": pinfo = pinfo[:-1] return pinfo pos = pinfo.rfind(self._extraURLPath) if pos==-1: URI=pinfo else: URI=pinfo[:pos] if URI and URI[-1]=="/": URI=URI[:-1] return URI ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=697350&group_id=4866 |
From: SourceForge.net <no...@so...> - 2003-10-23 05:31:29
|
Bugs item #697350, was opened at 2003-03-04 10:51 Message generated for change (Comment added) made by jdhildeb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=697350&group_id=4866 Category: WebKit Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Dietmar Schwertberger (dschwertberger) >Assigned to: Jason Hildebrand (jdhildeb) Summary: HTTPServlet.servletURI index errors Initial Comment: The following fixes some index errors: def servletURI(self): """This is the URI of the servlet, without any query strings or extra path info""" sspath=self.serverSidePath() #ensure that extraURLPath has been stripped pinfo=self.pathInfo() if not self._extraURLPath: if pinfo and pinfo[-1]=="/": pinfo = pinfo[:-1] return pinfo pos = pinfo.rfind(self._extraURLPath) if pos==-1: URI=pinfo else: URI=pinfo[:pos] if URI and URI[-1]=="/": URI=URI[:-1] return URI ---------------------------------------------------------------------- >Comment By: Jason Hildebrand (jdhildeb) Date: 2003-10-21 22:51 Message: Logged In: YES user_id=173690 Thanks for the bug report. I've made the change in CVS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=697350&group_id=4866 |