-
Notifications
You must be signed in to change notification settings - Fork 7
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
SE-3126 Fix issue caused by XSS fix in Video > Advanced > Transcript Languages #240
SE-3126 Fix issue caused by XSS fix in Video > Advanced > Transcript Languages #240
Conversation
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.
Thanks @pomegranited. This works perfectly! I just noticed that the HtmlUtils method should actually be prepend
and not append
(the code before the patch was using prepend
and the styling is off with append
). So I went ahead and pushed the change.
- I tested this: Verified the transcript languages setting works as described in the testing instructions.
- I read through the code.
-
I tested for accessibilityN/A -
Includes documentationN/A
Thanks for that @pkulkark ! I've re-tested on my devstack with Merging now.. |
…Languages (#240) * Fix issue caused by XSS fix in Video > Advanced > Transcript Languages * change append to prepend Co-authored-by: pkulkark <[email protected]> (cherry picked from commit 6eeb1846e260173d5e327aa600f5c3897220fd31)
…Languages (#240) * Fix issue caused by XSS fix in Video > Advanced > Transcript Languages * change append to prepend Co-authored-by: pkulkark <[email protected]>
…Languages (#240) * Fix issue caused by XSS fix in Video > Advanced > Transcript Languages * change append to prepend Co-authored-by: pkulkark <[email protected]>
…Languages (#240) * Fix issue caused by XSS fix in Video > Advanced > Transcript Languages * change append to prepend Co-authored-by: pkulkark <[email protected]>
…_safe fix: ensure redirect url is whitelisted
Fixes issue introduced by #237 code ported from upstream.
Screenshots
Before this fix:
After this fix:
Sandbox
Testing instructions
.srt
file..srt
file downloaded in the previous step..srt
file you uploaded remains saved with the video.Reviewer