1
All Support / BBCode Type Formatting Issues
« on: Wed, Aug 09 19:37 »
Protocols
"「url」" forces "http://" , allows "https://", does not allow protocols (steam://)
**additionally rewrites "steam://" as "steam//"**
example:
↓↓↓↓↓↓↓↓↓↓↓↓↓↓is modified to↓↓↓↓↓↓↓↓↓↓↓↓↓↓
fix:
Allow for steam protocols:
/Themes/Sources/Subs.php
"「url」" forces "http://" , allows "https://", does not allow protocols (steam://)
**additionally rewrites "steam://" as "steam//"**
example:
Code: [Select]
steam://friends/add/'.**steamacct#**.'
↓↓↓↓↓↓↓↓↓↓↓↓↓↓is modified to↓↓↓↓↓↓↓↓↓↓↓↓↓↓
Code: [Select]
[url=http://steam://friends/add/''.**steamacct#**.']
fix:
Allow for steam protocols:
/Themes/Sources/Subs.php
Code: [Select]
if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0 && strpos($data, \'steam://\') !==0)
$data = \'http://\' . $data;