[Webkit-unassigned] [Bug 34879] pywebsocket should support html and cgi in the same directory.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 3 18:10:40 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34879
--- Comment #17 from Fumitoshi Ukai <ukai at chromium.org> 2010-03-03 18:10:40 PST ---
(In reply to comment #15)
> I think I could review this patch if you explained what this line did:
>
> + scriptfile = self.translate_path(self.path.split('?', 2)[0])
it gets real pathname from request path.
self.path contains request path in HTTP request header
self.path.split('?', 2)[0] strips query parameter if any
self.translate_path() converts resource name into pathname on filesystem.
> It seems worth both a short comment, and a longer explanation in the bug.
added comments
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list