[CORS-RFC1918] Fix “adress” typo in error message
The error message emitted for CorsError::kInsecurePrivateNetwork (when, e.g., a document hosted on public web space tries to access a document at an http://localhost URL) is this: > The request client is not a secure context and the resource is in > more-private adress space So this change fixes the misspelled word “adress”. Bug: 1186516 Change-Id: Id3dd2d7527362fcbb81fc60bef3d6c50312f0298 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2747563 Reviewed-by: Mike West <mkwst@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#861543}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
75740339c4
commit
676c6c0e86
1
AUTHORS
1
AUTHORS
@ -717,6 +717,7 @@ Michael Lopez <lopes92290@gmail.com>
|
||||
Michael Morrison <codebythepound@gmail.com>
|
||||
Michael Müller <michael@fds-team.de>
|
||||
Michael Schechter <mike.schechter@gmail.com>
|
||||
Michael Smith <sideshowbarker@gmail.com>
|
||||
Michaël Zasso <mic.besace@gmail.com>
|
||||
Michael Zugelder <michael@zugelder.org>
|
||||
Michel Promonet <michel.promonet.1@gmail.com>
|
||||
|
@ -111,7 +111,7 @@ String GetErrorString(const network::CorsErrorStatus& status,
|
||||
break;
|
||||
case CorsError::kInsecurePrivateNetwork:
|
||||
Append(builder, {"The request client is not a secure context and the "
|
||||
"resource is in more-private adress space `",
|
||||
"resource is in more-private address space `",
|
||||
ShortAddressSpace(status.resource_address_space), "`."});
|
||||
break;
|
||||
case CorsError::kWildcardOriginNotAllowed:
|
||||
|
Reference in New Issue
Block a user