Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (Ruben, Philipp, JPG), 134 guests, and 205 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Morgan
Morgan
Sweden
Posts: 597
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 19
Gizmo 18
Ruben 16
Morgan 6
Alento 3
driv 2
M4TT 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
7.5.9 Bug : Regex #256917
05/03/15 02:03 PM
05/03/15 02:03 PM
Mark S  Offline OP
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
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
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: 7.5.9 Bug : Regex [Re: Mark S] #256922
05/03/15 06:43 PM
05/03/15 06:43 PM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,223
California
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.6.2 Released
Re: 7.5.9 Bug : Regex [Re: Mark S] #256923
05/03/15 07:29 PM
05/03/15 07:29 PM
Mark S  Offline OP
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
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
05/04/15 05:15 AM
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,223
California
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.6.2 Released

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
image test
by JPG. 10/21/18 10:06 AM
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
UBB.threads 7.7.0 - Progress Reports
by isaac. 10/13/18 09:34 AM
Forum Statistics
Forums36
Topics35,152
Posts191,521
Members12,109
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2