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

Issue 5339001: Add a regexp to verify the host parameter. (Closed)

Created:
10 years, 1 month ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
truty
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Add a regexp to verify the host parameter. If the host parameter is invalid, like having a trailing backslash, it will result on HTTP 400 later which is much harder to diagnose. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67295

Patch Set 1 #

Patch Set 2 : Improve regexp to support port number #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M third_party/upload.py View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
Patch is being upstreamed at http://codereview.appspot.com/3279041
10 years, 1 month ago (2010-11-23 16:21:05 UTC) #1
truty
10 years, 1 month ago (2010-11-23 17:16:59 UTC) #2
lgtm (and I tested this by adding a trailing backslash to the rietveldserver for
the current issue in .git/config).

Powered by Google App Engine
This is Rietveld 408576698