Skip to content

Commit d6aae09

Browse files
committed
fix
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 6302756 commit d6aae09

23 files changed

+133
-132
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file.
77
<!-- add unreleased items here -->
88

99
* Fixed
10-
* Encode double-quote in URLs. ([#1154] via [#1155])
10+
* Encode quotation marks in URLs. ([#1154] via [#1155])
1111
* Build
1212
* Use _TypeScript_ `v5.6.2` now, was `v5.5.3` (via [#1130]. [#1144])
1313
* Use _webpack_ `v5.95.0` now, was `v5.93.0` (via [#1138], [#1147])

src/_helpers/uri.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Copyright (c) OWASP Foundation. All Rights Reserved.
2020
const _ESCAPES: Array<[RegExp, string]> = [
2121
[/ /g, '%20'],
2222
[/"/g, '%22'],
23+
[/'/g, '%27'],
2324
[/\[/g, '%5B'],
2425
[/]/g, '%5D'],
2526
[/</g, '%3C'],

tests/_data/models.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ module.exports.createComplexStructure = function () {
284284
['encode anyUri: mailto', 'mailto:[email protected]'],
285285
['encode anyUri: relative path', '../foo/bar'],
286286
['encode anyUri: space', 'https://example.org/foo bar bazz%20again+again'],
287-
['encode anyUri: "', 'https://example.org/"test"'],
287+
['encode anyUri: quotation', `https://example.org/this"test"isa'test'`],
288288
['encode anyUri: []', 'https://example.org/?bar[test]=baz[again]'],
289289
['encode anyUri: <>', 'https://example.org/#<test><again>'],
290290
['encode anyUri: {}', 'https://example.org/#{test}{again}'],

tests/_data/normalizeResults/json_sortedLists_spec1.2.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/normalizeResults/json_sortedLists_spec1.3.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/normalizeResults/json_sortedLists_spec1.4.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/normalizeResults/json_sortedLists_spec1.5.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/normalizeResults/json_sortedLists_spec1.6.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/normalizeResults/xml_sortedLists_spec1.2.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/normalizeResults/xml_sortedLists_spec1.3.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)