Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: gm/rebaseline_server/server.py

Issue 445753005: make rebaseline_server properly handle unescaped URLs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/server.py
diff --git a/gm/rebaseline_server/server.py b/gm/rebaseline_server/server.py
index 8f59eb6895014c055b4c1efb4b0a1240d6d87247..f817597a0f69d72684c7b386a2a38b372ac1de97 100755
--- a/gm/rebaseline_server/server.py
+++ b/gm/rebaseline_server/server.py
@@ -475,8 +475,7 @@ class HTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
# /dispatcher/remainder
# where 'dispatcher' indicates which do_GET_* dispatcher to run
# and 'remainder' is the remaining path sent to that dispatcher.
- normpath = posixpath.normpath(self.path)
- (dispatcher_name, remainder) = PATHSPLIT_RE.match(normpath).groups()
+ (dispatcher_name, remainder) = PATHSPLIT_RE.match(self.path).groups()
dispatchers = {
GET__LIVE_RESULTS: self.do_GET_live_results,
GET__PRECOMPUTED_RESULTS: self.do_GET_precomputed_results,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698