mediamtx/internal/core
Kim Adrian Huynh 61c67cc585 feat(api): add support for multiple allowed origins with wildcards
Introduce a new `allowOrigins` configuration field (slice of strings) to
replace the single-string `allowOrigin`.
Add logic to validate origins against allowed patterns, supporting:
- Exact matches
- Wildcard domain matching (e.g., http://*.example.com)

Update configuration handling in core and test components to support the
new format.
Maintain backwards compatibility with the old `allowOrigin` field.
Update `openapi.yaml` to reflect the new configuration field.
2025-11-19 02:45:54 +01:00
..
test_on_demand switch to gortsplib/v5 (#4978) 2025-09-16 13:10:34 +02:00
versiongetter update linter settings (#4790) 2025-07-26 16:44:32 +02:00
api_test.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
core.go feat(api): add support for multiple allowed origins with wildcards 2025-11-19 02:45:54 +01:00
core_test.go switch to gortsplib/v5 (#4978) 2025-09-16 13:10:34 +02:00
metrics_test.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
path.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
path_manager.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
path_manager_test.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
path_test.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
source_redirect.go update golangci-lint configuration (#5182) 2025-11-11 23:57:52 +01:00
upgrade.go add self-upgrader (#3501) (#5035) 2025-10-13 13:06:47 +02:00
upgrade_disabled.go add self-upgrader (#3501) (#5035) 2025-10-13 13:06:47 +02:00