-
Notifications
You must be signed in to change notification settings - Fork 17
Illegal character in path segment of src attribute in video #208
Copy link
Copy link
Open
Labels
🐛bugSomething isn't workingSomething isn't workingP4 - LowBugs that do not interfere with core functionality and are just annoyancesBugs that do not interfere with core functionality and are just annoyancesS3 - Trivial DefectsSmall errors that do not prevent or hinder functionality,Small errors that do not prevent or hinder functionality,env:next releaseSomething isn't working on next releaseSomething isn't working on next releasemodule:coursepassed 🔵The implementation meets the requirementThe implementation meets the requirementrole:Studentuser's roleuser's roletype:parseSyntax error that could prevent the code to compile or disrupt assistive technologySyntax error that could prevent the code to compile or disrupt assistive technology
Milestone
Metadata
Metadata
Assignees
Labels
🐛bugSomething isn't workingSomething isn't workingP4 - LowBugs that do not interfere with core functionality and are just annoyancesBugs that do not interfere with core functionality and are just annoyancesS3 - Trivial DefectsSmall errors that do not prevent or hinder functionality,Small errors that do not prevent or hinder functionality,env:next releaseSomething isn't working on next releaseSomething isn't working on next releasemodule:coursepassed 🔵The implementation meets the requirementThe implementation meets the requirementrole:Studentuser's roleuser's roletype:parseSyntax error that could prevent the code to compile or disrupt assistive technologySyntax error that could prevent the code to compile or disrupt assistive technology
Expected Behavior
When teacher paste a valid video URL but with invalid characters, like spaces, system must encode the URL
Current Behavior
Video are rendered with not encoded URL
Steps to Reproduce
Add a external video with invalid character in URL and check that the URL is used without encode in course page
example: url with spaces
https://media.githubusercontent.com/media/OwenEdwards/ElephantsDreamAudioDescription/master/Elephants Dream with Audio Description.movEnvironment
Possible Solution or Implementation
This solution should apply to any invalid character, not only to the space example
Percent encoding
Related issues
#135 (comment)