fix(utils): handle sanitizing multi-level relative paths#10640
Merged
fix(utils): handle sanitizing multi-level relative paths#10640
Conversation
17 tasks
cka121
approved these changes
Nov 18, 2025
swagger-bot
pushed a commit
that referenced
this pull request
Nov 25, 2025
## [5.30.3](v5.30.2...v5.30.3) (2025-11-25) ### Bug Fixes * **deps:** update vulnerable @release-it/conventional-changelog to 10.0.2 ([#10645](#10645)) ([6acfc6e](6acfc6e)) * **deps:** update vulnerable dependencies (js-yaml & glob) ([#10644](#10644)) ([03cf01b](03cf01b)) * **utils:** handle sanitizing multi-level relative paths ([#10640](#10640)) ([58aff59](58aff59)), closes [#4107](#4107)
Contributor
|
🎉 This PR is included in version 5.30.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
delendik-testops
pushed a commit
to ModiusOpenData/swagger-ui
that referenced
this pull request
Mar 3, 2026
…#10640) Fixes swagger-api#4107 --------- Co-authored-by: David Vogel <david.vogel@siemens.com>
delendik-testops
pushed a commit
to ModiusOpenData/swagger-ui
that referenced
this pull request
Mar 3, 2026
## [5.30.3](swagger-api/swagger-ui@v5.30.2...v5.30.3) (2025-11-25) ### Bug Fixes * **deps:** update vulnerable @release-it/conventional-changelog to 10.0.2 ([swagger-api#10645](swagger-api#10645)) ([6acfc6e](swagger-api@6acfc6e)) * **deps:** update vulnerable dependencies (js-yaml & glob) ([swagger-api#10644](swagger-api#10644)) ([03cf01b](swagger-api@03cf01b)) * **utils:** handle sanitizing multi-level relative paths ([swagger-api#10640](swagger-api#10640)) ([58aff59](swagger-api@58aff59)), closes [swagger-api#4107](swagger-api#4107)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses handling of multi-level relative paths. Previously sanitizing URLs took into account only the base-level cases, e.g.
../testbut not the multi-level ones, e.g.../../test.Fixes #4107
Supersedes #10603