-
Notifications
You must be signed in to change notification settings - Fork 369
chore: upgrade swagger-ui to v5.20.0 #10250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upgrade to fix a vulnerability in the Try-it-out feature. GHSA-qrmm-w75w-3wpx
✅ Deploy Preview for determined-ui canceled.
|
hkang1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one question about the replace() function, the rest look good
|
|
||
| if (/code|token|error/.test(window.location.hash)) { | ||
| qp = window.location.hash.substring(1); | ||
| qp = window.location.hash.substring(1).replace('?', '&'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: what is the replace for? do question marks get entered into the hash somehow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears to fix a parsing error when someone uses casdoor: swagger-api/swagger-ui#8149
hkang1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the upgrade and fix
Upgrade to fix a vulnerability in the Try-it-out feature: GHSA-qrmm-w75w-3wpx We've chosen the SwaggerUI standalone installation that doesn't require npm: https://github.com/swagger-api/swagger-ui/blob/80d56c9518af7ad523f7171815c9da836551e259/docs/usage/installation.md#plain-old-htmlcssjs-standalone
Description
Upgrade to fix a vulnerability in the Try-it-out feature.
GHSA-qrmm-w75w-3wpx
We've chosen the SwaggerUI standalone installation that doesn't require npm: https://github.com/swagger-api/swagger-ui/blob/80d56c9518af7ad523f7171815c9da836551e259/docs/usage/installation.md#plain-old-htmlcssjs-standalone
Test Plan
make -C proto buildgenerates the latestapi.swagger.jsonmake -C docs buildmake -C docs liveA determined rest api page is expected:

Checklist
docs/release-notes/See Release Note for details.