CS-Reloaded Banner
Welcome, Guest. Please Login or Register.
Download First Map Pack!
Get more packs here

Home Help Search Login Register

CSReloaded Forums  |  General Category  |  Suggestions (Moderators: Porter, Father Ribs, Surgeon General, Guardian_Tenshi)  |  Topic: Little bug I noticed
Pages: [1] Reply Notify of replies
   Author  Topic: Little bug I noticed  (Read 142 times)
Terraji
Admin Team
CSR Connoisseur
*****
Karma: +35/-15

Offline

Gender: Male
Posts: 789

terraji@hotmail.com
View Profile E-Mail
Little bug I noticed
« on: September 06, 2004, 12:05:48 AM »
Reply with quote

study this...
 4.JPG
Logged

Terraji
Admin Team
CSR Connoisseur
*****
Karma: +35/-15

Offline

Gender: Male
Posts: 789

terraji@hotmail.com
View Profile E-Mail
Re:Little bug I noticed
« Reply #1 on: September 06, 2004, 12:07:50 AM »
Reply with quote

and then this..

my new name will be <a href="http://www.vomit.com"> terraji </a>

and then i will have to play very good...
 222.JPG
Logged

Yuna
[Wumpa]
Global Moderator
*****
Karma: +60/-39

Offline

Gender: Female
Posts: 506

Guardian+Yuna143
View Profile E-Mail
Re:Little bug I noticed
« Reply #2 on: September 06, 2004, 12:34:57 AM »
Reply with quote

Ooh, ooh, I can answer this one!!! It's because of the <s> in front of his name, all of the web browsers think it's actual code so it comes out as a strike through instead of the tag.



(I'm not really that smart, I asked Porter the same thing earlier.... )
Logged

f.k.a. [Wumpa] Wannabe, [Guardian] Yuna
n.k.a. [Wumpa] Yuna
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Little bug I noticed
« Reply #3 on: September 06, 2004, 12:38:49 AM »
Reply with quote

First of all, it's not a bug, it's a "feature".

Second, Yuna is completely correct, and while it's not really a big deal, it does technically  allow someone to exploit the webpage by being in the top 5 and playing with a name containing specific HTML tags, but the chances of that are slim.

Nevertheless, I'll add a line to the code to convert those characters ("<" and ">") into their HTML entity counterparts "&lt;" and "&gt;", which will effectively fix the problem.

Thanks for catching it.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
TheeKiller
CSR Connoisseur
*****
Karma: +50/-39

Offline

Gender: Male
Posts: 1099


View Profile
Re:Little bug I noticed
« Reply #4 on: September 06, 2004, 12:54:42 AM »
Reply with quote

sweet now we should all have that in our names!
Logged




Quote:
If you still quetion this get me and as many of your friends in one room or a hall way and I'll use a rubber knife and see how many of you I can smack with it! 
eni lmao
Justboy
Ladies' Man, Man's Man, Man About Town
Admin Team
CSR Connoisseur
*****
Karma: +166/-22

Offline

Gender: Male
Posts: 902

154865115 154865115 notquite_paradise Justb0y
View Profile WWW
Re:Little bug I noticed
« Reply #5 on: September 06, 2004, 05:39:25 AM »
Reply with quote

And sneaking in at number 5....
Logged

Escape artists never die.
Nubbinator
CSR Veteran
***
Karma: +10/-5

Offline

Gender: Male
Posts: 190

Vv+Targash+vV
View Profile WWW
Re:Little bug I noticed
« Reply #6 on: September 06, 2004, 11:26:44 AM »
Reply with quote

lol... and here I was thinking the bug was Porter at #3.
Logged

-=BA=- Through and through.
Deuce
CSR Super Ultra Mega Nerd
Global Moderator
*****
Karma: +169/--41

Offline

Gender: Male
Posts: 2914

DarkRusky
View Profile E-Mail
Re:Little bug I noticed
« Reply #7 on: September 06, 2004, 11:34:04 AM »
Reply with quote

Quote from: Nubbinator on September 06, 2004, 11:26:44 AM
lol... and here I was thinking the bug was Porter at #3.

i could have sworn that was the bug too
Logged




Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Little bug I noticed
« Reply #8 on: September 06, 2004, 12:30:19 PM »
Reply with quote

Heh, yeah, do you have any idea how much work it took to rig the program to always make sure I was in the top 5?? Phew, it was tough, especially after so many people have seen how I play!
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Little bug I noticed
« Reply #9 on: September 07, 2004, 09:08:22 AM »
Reply with quote

The bug was been repaired. HTML entities are now encoded to prevent browsers from interpreting them as tags.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Nubbinator
CSR Veteran
***
Karma: +10/-5

Offline

Gender: Male
Posts: 190

Vv+Targash+vV
View Profile WWW
Re:Little bug I noticed
« Reply #10 on: September 07, 2004, 04:49:11 PM »
Reply with quote

Out of curiosity.. how did you do this 

Not that I want to bypass it or anything 
Logged

-=BA=- Through and through.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Little bug I noticed
« Reply #11 on: September 07, 2004, 06:18:08 PM »
Reply with quote

Quote from: Nubbinator on September 07, 2004, 04:49:11 PM
Out of curiosity.. how did you do this 

Not that I want to bypass it or anything 

Uh, could you be more specific? Are you referring to making sure strings in players' names don't get interpreted as HTML tags in the top 5?
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Nubbinator
CSR Veteran
***
Karma: +10/-5

Offline

Gender: Male
Posts: 190

Vv+Targash+vV
View Profile WWW
Re:Little bug I noticed
« Reply #12 on: September 08, 2004, 02:44:16 PM »
Reply with quote

Actually I was kidding there, was trying to imply I was going to find a way to bypass the top5 bug to use it again.  I do see you changed the < to "%gt " (I think thats it).
Logged

-=BA=- Through and through.
Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Little bug I noticed
« Reply #13 on: September 08, 2004, 05:36:54 PM »
Reply with quote

Yeah, very easy to do with php:

http://us4.php.net/manual/en/function.htmlentities.php
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Pages: [1] Reply Notify of replies 
CSReloaded Forums  |  General Category  |  Suggestions (Moderators: Porter, Father Ribs, Surgeon General, Guardian_Tenshi)  |  Topic: Little bug I noticed
Jump to: 

Powered by PHP CSReloaded Forums | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
Powered by MySQL
:[ Site Design by Ryo, scripts and backends by Porter and Ryo, banner by Supafly! Powered by PHP and MySQL ]:
Page created in 3.84 seconds.