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


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to