w3c / Unicorn

Unicorn - W3C's Unified Validator
https://validator.w3.org/unicorn/
Other
127 stars 59 forks source link

Wrong CSS file when using subdomain #133

Closed vivienlacourba closed 7 years ago

vivienlacourba commented 8 years ago

Reported by anonymous on 10 Sep 2010 16:16 UTC I just ran the validator on my webpage.

The page is like: name.sub.mydomain.com.

The CSS-file it should take is name.sub.mydomain.com/css/style.css

But instead, it goes to mydomain.com, it detects it's css file, and validates that one. But that is a totaly different website. So it validates mydomain.com/cssfiles/style.css. (even the directory is different than the one used on the subdomain).

The css tag is this:

And i'm using this doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

vivienlacourba commented 8 years ago

Comment by jean-gui on 22 Oct 2010 17:37 UTC Do you have an example website we could test this behaviour on?