2

I have a simple body field that uses an input format with only "Limit allowed HTML tags".

If I enter a link ... say <a href="www.google.com">Test</a> The node will transform the link's href to read http://www.mydomain.com/www.google.com

If I enter <a href="http://www.google.com">Test</a>, it will work as expected.

Is there a reason why not including http:// causes this? Is there a way around it?

I was hoping Pathologic would solve this but it doesn't seem to have.

Thanks!

1 Answer 1

0

The issue is href="www.google.com" really is http://yourdomainandpath/www.google.com just as href="hello.htm" would be as well.

1
  • Ah. This seems to apply at the browser level.
    – mmilo
    Feb 21, 2012 at 3:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.