Skip to content

Illegal character in path segment of src attribute in video  #208

@ecureuill

Description

@ecureuill

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.mov

Environment

Possible Solution or Implementation

This solution should apply to any invalid character, not only to the space example
Percent encoding

Related issues

#135 (comment)

Metadata

Metadata

Assignees

Labels

🐛bugSomething isn't workingP4 - LowBugs that do not interfere with core functionality and are just annoyancesS3 - Trivial DefectsSmall errors that do not prevent or hinder functionality,env:next releaseSomething isn't working on next releasemodule:coursepassed 🔵The implementation meets the requirementrole:Studentuser's roletype:parseSyntax error that could prevent the code to compile or disrupt assistive technology

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions