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


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to