Mansi

https://stackoverflow.com/questions/47404941/silverstripe-rendering-external-urls-as-relative-links I'm having an issue with SilverStripe treating external URLs as relative links.

I have a DataObject:

class Artist extends DataObject { private static $db = array( 'Title' => 'Varchar(255)', 'Content' => 'HTMLText', 'Website' => 'Varchar(255)', ); }

Artist websites are rendered via <a href="$Website" target="_blank">. The problem is that the URLs are being appended to the base URL of the website, so we end up with something like:

<a href="http://mysite.com/www.artistsite.com"...