[RSS Feed/News] Add more Protocols to [URL]-Tag

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi Guys.

I want to add more protocols to the URL-BB Code Tag. I look in src/XF/BbCode/Renderer/Html.php an found protected $allowedUrlProtocolRegex = '#^(https?|ftp)://#i';

so i try to add other protocols like steam:// or meta://

protected $allowedUrlProtocolRegex = '#^(https?|ftp|steam|meta)://#i';

but if i add a steam:// link the Renderer will change it to https://steam/

I...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom