When using path auto relative links break.
If you have a block with an img that looks like:
<img src="sites/default/files/img.jpg">
Then visit some content that uses the alias content/node
the alias content is inserted into the img path, it comes up as content/sites/default/files/img.jpg which breaks the links.

Absolute links don't break or have the alias inserted. Only occurs when the actual domain is visited, not on temporary domains.

Not sure if clean urls affects it or not.


Status:Active» Closed (works as designed)

This is how 'href' values in links and images work by default. If you don't provide a prefix of a slash character (e.g. /sites/default/files/img.jpg) then browsers interpret the links (such as sites/default/files/img.jpg) as relative to the current page/URL.

You can also use a module like Pathologic to convert inline links to full URLs.

Thank you! I actually knew that, but for some reason I didn't make the connection.

Pathlogic looks great too.

Issue summary:View changes

fixed code tag