Dactyloidae/netwerk
Moonchild 96d1e2766f [network] Prepare for requiring Authorization in CORS ACAH preflight
The Authorization header with a JSON Web Token (JWT) can be sent via
XMLHttpRequest without explicit authorization via Access-Control headers.
According to the spec, this must always explicitly be mentioned in ACAH
request headers and isn't allowed to be wildcarded. However, nobody
currently obeys this rule and many websites are misconfigured because
Chromium and Firefox always allowed it.

This patch adds the more stricter code but keeps it behind an #ifdef 0
to be released later on if and when there is enough consensus on the web
to obey this spec. This patch explicitly avoids the added complexity
Mozilla added to educate web devs since our role in that respect is not
significant. it's not preffed and it won't throw an explicit deprecation
warning.

See Mozilla bugs 1687364 and 1841019.
2023-07-06 10:25:09 +08:00
..
base Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
build Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
cache Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
cache2 Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
cookie [network] Align cookie checks with RFC 6265 (bis) 2022-12-16 11:25:15 +08:00
dns Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
ipc Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
locales Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
mime Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing. 2023-06-24 12:16:27 +08:00
protocol [network] Prepare for requiring Authorization in CORS ACAH preflight 2023-07-06 10:25:09 +08:00
sctp Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables 2023-01-10 07:31:26 +08:00
socket Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
srtp Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
standalone Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
streamconv Issue #80 - reinstated unified building for some large chunks of our code. 2022-09-07 10:36:23 +08:00
system Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
test Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
wifi Issue #1656 - Remove more vim control lines. 2023-05-05 22:59:16 +08:00
moz.build Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
necko-config.h.in import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00