You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 31, 2019. It is now read-only.
Case sensitive URLs in profile boxes get converted to lower case, making them unusable #2717
Case sensitive URLs in a <div style="background-image" element get converted to lowercase.
When editing a profile in https://oc.tc/account, using case sensitive URLs in a <div style="background-image" set to url(https://source.unsplash.com/S4V_T8UzXjs/1920x1080), the link is converted to url(https://source.unsplash.com/s4vt8uzxjs/1920x1080) (lowercase and underscore missing)
As I reported this in the forums did a bit of additional research on this and found the following:
Text gets converted to lowercase in all tag properties, including style and class.
Special characters are only removed in style-properties.
Characters removed are _, ?, =, space and possibly more.
The first 3 characters are needed for URLs, which can be used in CSS for example for background images.
The space is not needed for URLs, but for CSS properties with multiple values (for example border: 1px solid black; or margin: 10 20;)
Activity
freundTech commentedon Dec 29, 2016
As I reported this in the forums did a bit of additional research on this and found the following:
styleandclass.style-properties._,?,=, space and possibly more.The first 3 characters are needed for URLs, which can be used in CSS for example for background images.
The space is not needed for URLs, but for CSS properties with multiple values (for example
border: 1px solid black;ormargin: 10 20;)