Site Links
Home
Features
Pricing & Order
Documentation
Support Options
Member Area
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 59 guests, and 212 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 458
Joined: August 2004
Show All Member Profiles 
Top Posters(30 Days)
isaac 25
Gizmo 18
Ruben 10
driv 9
Conrad 3
JAISP 2
Morgan 2
Latest Photos
Trees
Retreats
Rooms
Big stuff
Test
Previous Thread
Next Thread
Print Thread
7.5.9 Bug : Regex #256917 05/03/15 02:03 PM
Joined: Jul 2006
Posts: 4,075
Mark S Offline OP
OP Offline
Joined: Jul 2006
Posts: 4,075
1. Ive added a <space> after the word chrome so you can see what it should say.
2. Then what happens with out the space.

1. chrome ://flags/#enable-npapi
2. chrome://flags/#enable-npapi

onoes onoes onoes onoes

< suhosin Free Zone > lol


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Express Hosting
Re: 7.5.9 Bug : Regex [Re: Mark S] #256922 05/03/15 06:43 PM
Joined: Apr 2004
Posts: 1,377
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,377
Since "chrome:" is not a standard web url protocol. It is specific to the browser/software a person has installed on their device.

Protocol standards are http/https.

"chrome:" is unique only to users who have Google Chrome installed on their devices. The "about:" tag is also unique to what the user has installed on their device. These features allow that user to configure their Google Chrome browser software -- in the same way that the "about:" flags allow a user to configure their Mozilla Firefox software. Directly linking to these features from within UBBCode is beyond the scope of the intentions of UBB.threads. If you want to allow direct-link access to a user's browser settings, give that user access to post using "HTML" -- be warned though, allowing users to create posts with HTML can open up risks to your site.

Beyond allowing users to post with HTML code, have you tried adding these proprietary protocols to your custom tags?

Control Panel > Content Rebuilder > Custom Tag Editor
/admin/rebuildcontent.php?returntab=1


I'm look further in to this now. And there goes my Sunday.... lol

Last edited by id242; 05/03/15 07:18 PM.

isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.2 Progress Notes
Re: 7.5.9 Bug : Regex [Re: Mark S] #256923 05/03/15 07:29 PM
Joined: Jul 2006
Posts: 4,075
Mark S Offline OP
OP Offline
Joined: Jul 2006
Posts: 4,075
Ive never typed anything like it or will again.
Just feedback.

Enjoy your Sunday if you can.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: 7.5.9 Bug : Regex [Re: Mark S] #256924 05/04/15 05:15 AM
Joined: Apr 2004
Posts: 1,377
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,377
Mark, you're correct. You did find a bug.

UBB.threads was attempting to add URL BBCode around the outside of non-acceptable URL protocols. The bug seems to have existed for most of the 7.5.x series of UBB.threads. I've made the corrections to the code and now only the three acceptable protocols will be parsed. These corrections will be available in 7.6.0+

Thanks for the good find!

---

NOTES:
For security, the protocols accepted by the [url] tag will only accept local (relative) URLs, and URLs that use the http:, https:, or ftp: protocols. In particular, it will not accept any URL that uses protocols such as the javascript: protocol. This limitation is for security reasons, and can prevent code injection on your site. This includes any non-standard usage of the protocol format, such as chrome:, and about:.


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.2 Progress Notes

ShoutChat Box
Today's Birthdays
No Birthdays
Recent Topics
7.7.1 forgotten? //$reply = "off";
by BlackMale - 05/13/19 07:25 PM
[FIXED for 7.7.2] 7.7.1 /admin/edit_subscrip
tion.php

by BlackMale - 05/11/19 08:35 AM
http issues
by justwilliams - 05/10/19 09:20 AM
Open div
by AllenAyres - 05/09/19 01:17 PM
Forum Statistics
Forums35
Topics35,292
Posts192,448
Members12,166
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190501)