post  Odd thing with BBcode

Bazzy (3164)   Link to this post
By typing ███████████

All BBcode is censored!
See http://www.cplusplus.com/forum/lounge/13998/#msg68211 & following

you get this:
[[forum|WTF]]
Last edited on
chrisname (1342)   Link to this post
Oh?

[[forum|WTF]]


OMG
Last edited on
kevinchkin (363)   Link to this post
lolz ...
[[forum|WTF]]


Well, apparently it takes the second one. So if I write "WTF|forum" It will print forum. But yeah, it's true WTF lolz
Last edited on
chrisname (1342)   Link to this post
Let's try XOR

[[forum^wtf]]


Damn.

AND

[[forum&wtf]]


Oh well.

Kevin, hover your mouse over it. It points to cplusplus.com/x and prints y.
Last edited on
Bazzy (3164)   Link to this post
I got url slashes working!
[[/forum/lounge|WTF]]


-BBcode: ███████████


[[/forum/articles/1295|This is really cool!]]
Last edited on
chrisname (1342)   Link to this post
Lol.

[[/forum/lounge/13998|Yes, it is!]]
firedraco (2048)   Link to this post
I reminds me a bit of Wikipedia links.
Duoas (2964)   Link to this post
IIRC, twicker is still unsure whether he likes opaque links. Use sparingly. Or I fear the power may disappear.
firedraco (2048)   Link to this post
Heh that reminds me of when I was playing a MUD and people were spamming colored crap everywhere, so it got removed, so I just used the literal ASCII codes (like ) and put color in anyway. It was amusing until I got yelled at by the admin >_>
Bazzy (3164)   Link to this post
I've tried to mess a bit with this way of creating links and seems to work only within cplusplus.com so it should be safe

from http://www.cplusplus.com/forum/lounge/1433/page2.html#msg10354 :
URLs in forums are a delicate issue. I think that showing the full url instead of a title helps prevent certain types of abuses.

Anyway, just the URL is much easier than ███████████ so I don't think this would be used much...


[[//www.google.com|EDIT: it works also with external websites]]
Last edited on
chrisname (1342)   Link to this post
Lol nice detective work.
firedraco (2048)   Link to this post
Maybe we should remove this topic to prevent spammers from getting this stuff...
helios (4790)   Link to this post
Hmm...
[[http://www.google.com/|Take some venom and accept
That you won't see Nazareth
The rainbow lead you home

Warrior sent to Milky Way
UFO shooting gamma rays
A riot of destruction]]


Seems like it breaks pretty easily.
Last edited on
chrisname (1342)   Link to this post
What the hell? is anyone else seeing a big black bar?
Bazzy (3164)   Link to this post
I've censored the BBcode in my posts
Last edited on
chrisname (1342)   Link to this post
Oh, that was you. I thought some evil censorship monkey had taken over administration of this site to avoid nuclear war. My bad.
Bazzy (3164)   Link to this post
firedraco is right, this trick should be known only by trusted members
chrisname (1342)   Link to this post
Why? What possible danger is there of using it?
Bazzy (3164)   Link to this post
Malicious links can send you to webpage you would never expect...
Bazzy (3164)   Link to this post
BTW, found new use of that...
[[//upload.wikimedia.org/wikipedia/en/9/91/C_plus_plus_book.jpg]]

Pages: [1] [2] [3] [4]


Registered users can post in this forum.