Forum bug caused by rule that rewrites www.... strings into links - Page 1
Forum section: electronics / general

author: I wanted a rude username
author_rank: Frequent Contributor
timestamp: October 30, 2019, 07:08:39 am
content: Try posting a link to https  //2019  www  torproject.org/docs/pluggable-transports.html.en#user (obviously replace the s etc.).The forum absolutely wrecks it. But not when you click Preview, only when you click Post.There is probably a search-and-replace rule for converting www.... to links that is causing it.

author: BravoV
author_rank: Super Contributor
timestamp: October 30, 2019, 07:24:30 am
content: Yep, its broken, even using the code directive.Code:[url=https://2019.[url=http://www.torproject.org/docs/pluggable-transports.html.en#user]www.torproject.org/docs/pluggable-transports.html.en#user]...TEST....The result :www.torproject.org/docs/pluggable-transports.html.en#user]...TEST....

author: I wanted a rude username
author_rank: Frequent Contributor
timestamp: October 30, 2019, 09:16:08 am
content: Quote from: BravoV on October 30, 2019, 07:24:30 amHa, I also tried that. But the replacement doesn't care.This kind of feature is generally used to enforce rules, e.g. replace all instances of "ass" with "butt". That produces some clbuttic failure modes.

author: mariush
author_rank: Super Contributor
timestamp: October 30, 2019, 09:26:34 am
content: As a temporary fix, it seems you could just escape the dot between 2019 and www by writing it as %2E (hexadecimal code for dot)Seehttps://www.eevblog.com/forum/supporters-lounge/test-215812/msg2761262/#msg2761262Exhttps://2019%2Ewww.torproject.org/docs/pluggable-transports.html.en#userYou can modify the post after you submit it and edit the visible link if you want to.

author: soldar
author_rank: Super Contributor
timestamp: October 30, 2019, 09:56:05 am
content: Testing. Never mind. Cannot find a work-around.

author: GlennSprigg
author_rank: Super Contributor
timestamp: October 30, 2019, 11:37:31 am
content: JUST TESTING !!!Removing the "http://2019." and just starting with the "www."www.torproject.org/docs/pluggable-transports.html.en#userYep... that worked !!In fact you can even leave out the "www." part, for most sites these days !!

author: soldar
author_rank: Super Contributor
timestamp: October 30, 2019, 02:36:35 pm
content: Quote from: GlennSprigg on October 30, 2019, 11:37:31 amIt works only by coincidence because the server redirects that way but it is not the same url and would not work by default.

author: I wanted a rude username
author_rank: Frequent Contributor
timestamp: October 30, 2019, 10:11:59 pm
content: Quote from: soldar on October 30, 2019, 02:36:35 pmYep. Also, this rewrite strips the protocol and replaces it with http, which is unsafe.

author: tooki
author_rank: Super Contributor
timestamp: October 31, 2019, 10:08:45 pm
content: Quote from: I wanted a rude username on October 30, 2019, 07:08:39 am::sigh:: this forum software leaves a lot to be desired on many fronts. The QA just isn't there.Quote from: I wanted a rude username on October 30, 2019, 07:08:39 amI have found several bugs that only appear in the actual post, but not the preview, which is both absolutely maddening and also inexplicable. Why on earth would they develop two different code paths? That gives them twice as many places for bugs to crop up, and results in outcomes like this bug, where the rendering is not identical.

author: I wanted a rude username
author_rank: Frequent Contributor
timestamp: October 31, 2019, 11:01:01 pm
content: Quote from: tooki on October 31, 2019, 10:08:45 pmLast stable release (this one, 2.0.15) two years ago, next version in pre-release since 2014.It could beconverted to phpBB, but stuff would inevitably break.Probably just have to put up with SMF and its quirks ... as long as it is receiving security updates.

author: tooki
author_rank: Super Contributor
timestamp: October 31, 2019, 11:49:27 pm
content: Honestly, I hate phpBB with a passion. It suffers from the same affliction so many open source platforms are hobbled by: reliance on plugins for anything beyond barebones functionality. But those plugins are often of awful quality, and then cease to be maintained and break with updates to the platform.I used to be an admin (as in, super-moderator, not a server admin) on a major Mac forum (60K+ registered users in its heyday), and after its start with UBB (a Perl-based forum that worked well with a few hundred users but didn't scale AT ALL), it moved to vBulletin, an excellent commercial product. It, too, supports plugins, but since it's actually got support and active development, things actually work. Being a Mac forum, there were quite a few web designers among the members, so some were paid to actually code a custom theme and a few custom customizations, which actually work well.Alas, people seem to invariably reach for open source forum software nowadays, despite the fact that they require immense amounts of babying to keep working well. A false economy IMHO.

author: I wanted a rude username
author_rank: Frequent Contributor
timestamp: January 08, 2020, 10:47:46 am
content: Quote from: I wanted a rude username on October 31, 2019, 11:01:01 pmWell, speak of the devil.Simple Machines have just started committing changes again.SMF 2.0.15 November 19, 2017SMF 2.0.16 December 24, 2019SMF 2.0.17 December 29, 2019A sizeable backlog of changes went into 2.0.16. The security fixes don't seem critical.