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

Issue 158453004: [ABANDONED] [WebSocket] Remove the trailing slash from the origin header. (Closed)

Created:
6 years, 10 months ago by yhirano
Modified:
6 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[WebSocket] Remove the trailing slash from the origin header. Currently the WebSocket new impl uses GURL::spec(), but it adds a slash at the end of a origin url. This CL fixes the problem. BUG=339373 R=ricea@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -36 lines) Patch
M net/websockets/websocket_stream.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M net/websockets/websocket_stream_test.cc View 34 chunks +34 lines, -34 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
yhirano
6 years, 10 months ago (2014-02-10 08:48:42 UTC) #1
Adam Rice
lgtm
6 years, 10 months ago (2014-02-10 10:06:38 UTC) #2
yhirano
+tyoshino for OWNER review.
6 years, 10 months ago (2014-02-19 03:58:54 UTC) #3
tyoshino (SeeGerritForStatus)
lgtm
6 years, 10 months ago (2014-02-19 05:30:37 UTC) #4
tyoshino (SeeGerritForStatus)
6 years, 10 months ago (2014-02-19 05:32:12 UTC) #5
Maybe we should also try to add a new method to GURL that does serialization
conforming to the spec. As GetOrigin() is already used widely, we may need to
add another one, say, GetSerializedOrigin() with some explanation comment.

Powered by Google App Engine
This is Rietveld 408576698