ElkArte Community

Title: iurl
Post by: Joshua Dickerson on October 04, 2015, 01:38:01 pm
The BBC iurl shouldn't allow you to link outside of the site. Yet, when I do, Chrome seems to find the site anyway. Not sure how to fix this, but there should be a way.

Code: [Select]
[iurl]facebook.com[/iurl]
facebook.com (http://facebook.com)
Code: [Select]
[iurl]google.com[/iurl]
google.com (http://google.com)

Code: [Select]
[url]facebook.com[/url]
facebook.com (http://facebook.com)
[url]google.com[/url]
google.com (http://google.com)
Title: Re: iurl
Post by: Flavio93Zena on October 04, 2015, 01:58:42 pm
Quote from: Joshua Dickerson – The BBC iurl shouldn't allow you to link outside of the site.
Why? Maybe you want to specifically redirect users on a subdomain or something.
Title: Re: iurl
Post by: Joshua Dickerson on October 04, 2015, 02:06:20 pm
The I means internal. If it's not going to work as expected, it should be removed or fixed.
Title: Re: iurl
Post by: emanuele on October 04, 2015, 03:34:56 pm
I always intended the iurl as a "do not open new window" type of url, and never though about the "internal-VS-external" aspect.
I would keep it like that, I like to have a way not to open new windows/tabs all over the places.
Title: Re: iurl
Post by: radu81 on October 04, 2015, 03:51:30 pm
Quote from: emanuele – I always intended the iurl as a "do not open new window" type of url
same for me
Title: Re: iurl
Post by: Joshua Dickerson on October 04, 2015, 03:57:38 pm
ok
Title: Re: iurl
Post by: Joshua Dickerson on October 04, 2015, 03:58:00 pm
Move?