ladybird/Services/RequestServer
Andreas Kling 89f4fdb9d3 RequestServer+LibWeb: Fix resource substitution for cross-origin scripts
Substituted responses were missing the Access-Control-Allow-Origin
header, causing the CORS check to fail and the script to be treated as
a network error.

Fix this by adding `Access-Control-Allow-Origin: *` to all substituted
responses.

Also include the script's src attribute in the error message when a
script element's result is null, to make debugging easier.
2026-02-12 16:59:47 +01:00
..
CacheLevel.h Everywhere: Hoist the Services folder to the top-level 2024-11-10 12:50:45 +01:00
CMakeLists.txt RequestServer: Add --resource-map option for URL-to-file substitution 2026-01-19 10:23:26 +01:00
ConnectionFromClient.cpp LibWeb+RequestServer: Attach HTTP cookie headers from RequestServer 2026-02-10 12:21:20 +01:00
ConnectionFromClient.h LibWeb+RequestServer: Attach HTTP cookie headers from RequestServer 2026-02-10 12:21:20 +01:00
CURL.cpp LibRequests+RequestServer: Add an error code for CURLE_PARTIAL_FILE 2026-01-08 11:59:12 +01:00
CURL.h RequestServer: Move some cURL utilities to their own file 2025-10-28 11:52:51 +01:00
Forward.h LibHTTP+RequestServer: Move the HTTP cache implementation to LibHTTP 2025-11-29 08:35:02 -05:00
main.cpp LibWeb+RequestServer: Attach HTTP cookie headers from RequestServer 2026-02-10 12:21:20 +01:00
Request.cpp RequestServer+LibWeb: Fix resource substitution for cross-origin scripts 2026-02-12 16:59:47 +01:00
Request.h LibWeb+RequestServer: Attach HTTP cookie headers from RequestServer 2026-02-10 12:21:20 +01:00
RequestClient.ipc LibWeb+RequestServer: Attach HTTP cookie headers from RequestServer 2026-02-10 12:21:20 +01:00
RequestPipe.cpp LibCore+LibHTTP+RequestServer: Send data via sockets instead of pipes 2026-01-19 06:53:29 -05:00
RequestPipe.h LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
RequestServer.ipc LibWeb+RequestServer: Attach HTTP cookie headers from RequestServer 2026-02-10 12:21:20 +01:00
Resolver.cpp RequestServer: Move Resolver (and related structures) to its own file 2025-10-28 11:52:51 +01:00
Resolver.h RequestServer: Move Resolver (and related structures) to its own file 2025-10-28 11:52:51 +01:00
ResourceSubstitutionMap.cpp RequestServer: Add --resource-map option for URL-to-file substitution 2026-01-19 10:23:26 +01:00
ResourceSubstitutionMap.h RequestServer: Add --resource-map option for URL-to-file substitution 2026-01-19 10:23:26 +01:00
WebSocketImplCurl.cpp RequestServer: Move some cURL utilities to their own file 2025-10-28 11:52:51 +01:00
WebSocketImplCurl.h RequestServer: Enable in Windows CI 2025-08-23 16:04:36 -06:00