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

Issue 24339002: Escape slash since it helps to end an HTML entity. (Closed)

Created:
7 years, 3 months ago by nikgraf
Modified:
7 years, 2 months ago
Reviewers:
floitsch, Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Escape slash since it helps to end an HTML entity. Escaping a slash is recommended by the OWASP. Replace "'" in HTML escaping by "'" since "'" isn't supported in the HTML4 spec. BUG= http://dartbug.com/13364 R=efortuna@google.com, floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=27945

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M sdk/lib/convert/html_escape.dart View 2 chunks +7 lines, -5 lines 0 comments Download
M tests/lib/convert/html_escape_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Emily Fortuna
lgtm
7 years, 2 months ago (2013-09-25 19:45:40 UTC) #1
floitsch
LGTM. thanks. When requesting the initial code-review please Publish+Mail (with an empty body), so that ...
7 years, 2 months ago (2013-09-26 11:36:33 UTC) #2
nikgraf
Just tried the publish button :) Thanks for the hint.
7 years, 2 months ago (2013-09-26 11:41:26 UTC) #3
nikgraf
On 2013/09/26 11:41:26, nikgraf wrote: > Just tried the publish button :) > > Thanks ...
7 years, 2 months ago (2013-09-26 11:44:52 UTC) #4
floitsch
7 years, 2 months ago (2013-09-26 12:19:48 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 manually as r27945 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698