Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 03:19 am EST

Geeklog Forums

cant do href="rtsp://", strips it to href="//"


Status: offline

karnac

Forum User
Newbie
Registered: 02/19/04
Posts: 4
I'm trying to add a link to a stream with href="rtsp://streamlink">laskdfj but it keeps stripping the code to <a href="//streamlink">lkfajsd</a> instead. and in turn browers assume its html:// and fail to open the stream in an external player like I want.

This isn't an issue of adding rtsp to the accepted html tags in config.php, I tried that, no go, plus its not a tag itself so it shouldn't even need that.

please help.

thanks

edit: its even stripping it in this forum post
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You have to add it to the list of allowed protocols in config.php:
Text Formatted Code
// list of protocols that are allowed in links
$_CONF['allowed_protocols'] = array ('http', 'https', 'ftp');
 

bye, Dirk
 Quote

Status: offline

karnac

Forum User
Newbie
Registered: 02/19/04
Posts: 4
ah, simple enough.

thanks Dirk
 Quote

All times are EST. The time is now 03:19 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content