[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 Feb 17 10:01:46 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34879





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2010-02-17 10:01:46 PST ---
+        specify --server_host 127.0.0.1 -x /websocket/tests

What is --server-host, and why is it good to specify it? I think I know the
answer, but please explain it in ChangeLog.

Seems untidy to have a mix of short and long option names.

>             if '..' in self.path:
>                 return False

Do functions that we use for path manipulation perform tilde expansion (for
home directory)? Writing a truly secure server is out of scope for the test
tool, it's just too similar to existing check for "..", so I wanted to ask.

+            scriptfile = self.translate_path(self.path.split('?', 2)[0])

I don't understand what this line does. Someone who is better familiar with
Python might understand it, and give their r+.

-- 
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