Title: [135936] trunk/Tools
Revision
135936
Author
t...@chromium.org
Date
2012-11-27 16:22:59 -0800 (Tue, 27 Nov 2012)

Log Message

Fix garden-o-matic for non-chromium ports
https://bugs.webkit.org/show_bug.cgi?id=103458

Reviewed by Adam Barth.

I was getting a 403 error when trying to select any non-chromium port.

* Scripts/webkitpy/tool/servers/reflectionhandler.py:
(ReflectionHandler._handle_request): Use the path without query params.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (135935 => 135936)


--- trunk/Tools/ChangeLog	2012-11-27 23:56:54 UTC (rev 135935)
+++ trunk/Tools/ChangeLog	2012-11-28 00:22:59 UTC (rev 135936)
@@ -1,3 +1,15 @@
+2012-11-27  Tony Chang  <t...@chromium.org>
+
+        Fix garden-o-matic for non-chromium ports
+        https://bugs.webkit.org/show_bug.cgi?id=103458
+
+        Reviewed by Adam Barth.
+
+        I was getting a 403 error when trying to select any non-chromium port.
+
+        * Scripts/webkitpy/tool/servers/reflectionhandler.py:
+        (ReflectionHandler._handle_request): Use the path without query params.
+
 2012-11-27  Yael Aharon  <yael.aha...@intel.com>
 
         [EFL][WK2] 3D pixel tests are failing

Modified: trunk/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py (135935 => 135936)


--- trunk/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py	2012-11-27 23:56:54 UTC (rev 135935)
+++ trunk/Tools/Scripts/webkitpy/tool/servers/reflectionhandler.py	2012-11-28 00:22:59 UTC (rev 135936)
@@ -78,7 +78,7 @@
             self.query = {}
         function_or_file_name = path[1:] or "index.html"
 
-        _, extension = os.path.splitext(self.path)
+        _, extension = os.path.splitext(function_or_file_name)
         if extension in self.STATIC_FILE_EXTENSIONS:
             self._serve_static_file(function_or_file_name)
             return
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to