|
Mario Kart MB
https://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl Misc. >> Board Problems >> Two bugs concerning [url] https://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 Message started by TvL on 06/04/12 at 05:27:45 |
|
Title: Two bugs concerning [url] Post by TvL on 06/04/12 at 05:27:45 I've noticed two bugs (or hidden features?) concerning the [url]-tag. I'm not sure if these are fixable for you guys, but they'll be good to know about at least. There seems to be some kind of (malfunctioning) safety feature whenever you post a link to something within this forum; specifically, if the link contains this MB's url followed by a question mark, e.g.: http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338200675 Here is supposed to be a semicolon: ; In the sentence above I really put a semicolon, but it got transformed into an ampersand upon posting (or previewing). I've experimented a bit with what happens under what conditions, but the behavior is far too rich. It seems that the next 'special' character after the link is affected: a semicolon turns into an ampersand, an ampersand turns into two ampersands, and I don't know what more. Sometimes when you hit the preview button, the preview itself is not affected, but the input in the message area (where you type) is! I don't know what triggers this. You get a similar effect if you modify such a post. I have to deal with this every time I modify my original post in the pool topic in General (to add new players), not to mention while making this post. A single quote (') appears to be an "antidote": if you change the "Here is" in my sentence above into "Here's", the semicolon survives! The same thing happens with the other use of the [url]-tag. Here's a link which itself contains an ampersand: Send me a PM (http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?action=imsend&to=Thomas_vL) I hit preview, and the ampersand in the link gets doubled in the input area. The following semicolon has survived the posting process, but it turns into an ampersand upon previewing or modifying this post: ; As for the other bug: as demonstrated above, there are two ways to use the [url]-tag, either with [url]address[/url] or [url=address]text[/url]. It would appear that there's a maximum of three links that you can post, three with each method. I already have one link of either type in this post, here are two more: http://www.google.com http://www.google.com Google (http://www.google.com) Google (http://www.google.com) So far, so good. But now if I add one more link, I get a 403 error: Quote:
I can understand that there would be a limit to the number of links you can post, but instead of a warning you get this 403 error, which is a bug in my view. It took me some experimenting to find that the number of usages of [url] is the (likely) culprit. |
|
Title: Re: Two bugs concerning [url] Post by Mr.Nosey on 06/04/12 at 05:31:56 I don't know if this is exactly related, but when I was typing a particularly long thread title a few months ago, when trying to insert a '&' symbol, it deleted some characters from the end of the title (so appeared properly in the textbox I was putting it in, but it was cut-off when viewed from the board), whereas if I replaced it with a '+' symbol, it worked fine. A relatively unimportant bug, but just wondered why it did that. |
|
Title: Re: Two bugs concerning [url] Post by F@nt0m@s on 06/04/12 at 08:07:37 Maybe the symbol & has a meaning in html or css programing so that you can't really use it in a title... I'm not really an expert about this anymore and I can't anyone as I've changed the subject of my studies... |
|
Title: Re: Two bugs concerning [url] Post by MrL1193 on 06/04/12 at 11:43:27 If I recall correctly, the ampersand and semicolon are used in HTML for entering special characters without triggering their HTML functions. For instance, if you wanted to type less than or greater than signs (<, >) without using them in tags, you would have to type them as "<" and ">" respectively in the code to make them appear correctly. Since the ampersand itself has this function, it also needs to be entered in a special way (&). I'm not sure exactly how this is related to the bug you've noticed, though, since you usually wouldn't have to worry about coding the characters manually while posting on the forums. (Notice that my examples of how to type the characters in HTML have not been transformed.) |
|
Title: Re: Two bugs concerning [url] Post by Etch on 06/04/12 at 15:15:10 55696E6C60725E774D010 wrote:
I experienced this earlier trying to list multiple links. Since I was able to do without them, I didn't care but I asked Alex why that happened. 7C5158456D5853584B3D0 wrote:
Maybe taking a closer look might uncover something, idk. |
|
Title: Re: Two bugs concerning [url] Post by ALAKTORN on 06/04/12 at 15:37:39 5C065D5F555D570303360 wrote:
Maybe taking a closer look might uncover something, idk.[/quote] ;D |
|
Title: Re: Two bugs concerning [url] Post by TvL on 06/05/12 at 02:21:40 142B156868606A590 wrote:
I've looked at the source code of this page. Your (and now also my) "<" does not show up as "<" because the "&" is converted into "&", so it looks like "&lt;". Similarly, the "<" is converted into "<". This is all pretty standard for form submission processing. In php there's even a special command htmlspecialchars() to do this. Of course there are also many custom scripts which convert all our usages of [b] and [url] etc. into their html counterparts. Something is going very wrong when entering a forum link. Here's my actual entry: Code:
(Note: the parentheses around url and /url should of course be '[' and ']', but I can't actually use the [url]-tag cause that would trigger the 403-error!) The result: Nothing going on here: & ; http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 Supposed to be a semicolon: ; http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 Supposed to be an ampersand: & The source code: (I added line breaks for clarity): Code:
So it looks like the ampersands are first transformed into "&" and then the first instance of a semicolon is transformed into an ampersand, which explains why an ampersand gets doubled, but not much more. Omg, and this is what the last part of my post looks like in the input area after hitting the preview button: Code:
Wtf? |
|
Title: Re: Two bugs concerning [url] Post by shadow on 06/05/12 at 03:00:49 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1338816465 One work-around? Don't use url tags at all. |
|
Title: Re: Two bugs concerning [url] Post by F@nt0m@s on 06/05/12 at 03:02:49 Why did you post 30times the same link? |
|
Title: Re: Two bugs concerning [url] Post by TvL on 06/05/12 at 04:37:02 ^ He must really love this topic ::) @shadow: cool, I didn't know that was possible. It looks like "*://*.*", where '*' is pretty much any nonempty string, triggers an automatic hyperlink. |
|
Title: Re: Two bugs concerning [url] Post by ALAKTORN on 06/05/12 at 05:14:39 what the fuck? people actually put links within URL tags? you’re supposed to do that only if you want to change the linked text… |
|
Title: Re: Two bugs concerning [url] Post by ALAKTORN on 06/05/12 at 07:11:03 this is weird, the WRs topic in the MK7 section (http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1323097046) still works, but when I tried to edit the MKW TAS one (http://www.mariokart64.com/cgi-bin/yabb2/YaBB.pl?num=1262044871/1#1) I had to break the URL tags to get it through |
|
Title: Re: Two bugs concerning [url] Post by AlexPenev on 06/08/12 at 07:56:26 Rumour has it that some of these issues have been fixed. I'm not sure if I believe that rumour, so tell me if you guys run into 404 errors when posting. |
|
Title: Re: Two bugs concerning [url] Post by TvL on 06/08/12 at 14:39:23 The issue with multiple -tags appears to be fixed: [url]http://www.google.com http://www.google.com http://www.google.com http://www.google.com http://www.google.com Google (http://www.google.com) Google (http://www.google.com) Google (http://www.google.com) Google (http://www.google.com) Google (http://www.google.com) [smiley=thumbsup.gif] |
|
Title: Re: Two bugs concerning [url] Post by SMK Online BM World Champ on 06/15/12 at 22:01:33 I have no idea what this topic is about, and why do all the hyperlinks get redirected from the message board rather than going directly to the linked site? |
|
Title: Re: Two bugs concerning [url] Post by TvL on 06/16/12 at 14:20:26 Here's a third bug (or a new second one): It seems that if you put a link in your post, then the next color-tag doesn't work. This code: Code:
gives: http://www.google.com Not red Red If you look at the source code, you find this: <span style="color:;anch=ff0000;">Not red</span><br /> <span style="color:#ff0000;">Red</span> |
|
Title: Re: Two bugs concerning [url] Post by Mick on 06/17/12 at 18:30:17 ^ It's been like that for over a year, easily. Very troublesome that was to make that huge MK7 news topic which a lot of images and color codes... which dates from January 2011. |
|
Mario Kart MB » Powered by YaBB 2.2! YaBB © 2000-2007. All Rights Reserved. |