Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Global: Fix githubusercontent document rule
domain() does not pick up subdomains, at least in Firefox.
- Loading branch information
3d3409f
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.
@Mottie you mentioned
cloud
andservices
subdomains. Shall we add them? Got any examples?3d3409f
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.
Here is a cloud link that @un1versal sent me:
https://cloud.githubusercontent.com/assets/3521959/17084120/d4d15c34-51ad-11e6-8819-e81db621a698.PNG
He mentioned the services subdomain, but never shared a link... I figured just changing the regex to the whole domain would be better.
3d3409f
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.
cloud
looks to only serve images, not sure ifservices
exists.3d3409f
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.
Here is the patch-diff link he shared as well:
https://patch-diff.githubusercontent.com/raw/kvirc/KVIrc/pull/2070.patch
So why did you switch it back to regex?
3d3409f
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.
Because the page was unstyled with
domain("githubusercontent.com")
in Firefox. Is it different in Chrome?3d3409f
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.
Odd, I was testing it in both Chrome and Firefox this time.
3d3409f
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.
of course it exists.
correct its broken since Mottie tuned all subdomains into regex then removed the regex due to cloud being broken, then re-added one out of the three subdomains, so two are broken. (you noticed one)
3d3409f
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.
It should all be working properly now.