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 has been archived by the owner on Aug 31, 2019. It is now read-only.
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)
The text was updated successfully, but these errors were encountered:
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;)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 tourl(https://source.unsplash.com/S4V_T8UzXjs/1920x1080)
, the link is converted tourl(https://source.unsplash.com/s4vt8uzxjs/1920x1080)
(lowercase and underscore missing)The text was updated successfully, but these errors were encountered: