Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Bug in signature length?

 
Logged in as: Guest
arrSession:exec spGetSession 2,8,44117
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Suggestions & Feedback >> Bug in signature length?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Bug in signature length? - 3/6/2007 12:37:48 AM   
  ginolard


Posts: 965
Score: 21
Joined: 8/10/2005
Status: offline
I've just been updating my signature and noticed something that I think is a bug.  The maximum length is 255 characters but it appears to count formatting codes as well.  This seems silly to me.  Why should wrapping some text in bold tags add an extra 7 characters to the signature?

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm
 
 
Post #: 1
 
 RE: Bug in signature length? - 3/6/2007 2:18:43 AM   
  ebgreen


Posts: 4411
Score: 29
Joined: 7/12/2005
Status: offline
Because the limit is on the textbox where you enter the signature in your profile. Everything in there is text as far as it is concerned. It has no way to know the difference between text that happens to be a formatting tag versus text that is not.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to ginolard)
 
 
Post #: 2
 
 RE: Bug in signature length? - 3/6/2007 2:41:26 AM   
  ginolard


Posts: 965
Score: 21
Joined: 8/10/2005
Status: offline
I understand but surely it can't be hard to add some code that parses the text?  Why would anyone put things like Bold tags in their sig unless it was for formatting purposes?

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to ebgreen)
 
 
Post #: 3
 
 RE: Bug in signature length? - 3/6/2007 5:44:13 AM   
  ebgreen


Posts: 4411
Score: 29
Joined: 7/12/2005
Status: offline
I would consider that like saying that HTML format tags should not count toward the overall size of an HTML file. Surely no one would put them there except for formatting. Regardless it is an arbitrary limit on the size of the string. The string must be stored as a complete string in the database because the parsing is done when the page is rendered. Not when you store the string. So, if there were some way to not count formatting tags in the allowed size, that means that if I took humbrage with the site, all I would need to do is to keep adding tags to my signature until I eventually overflowed the allowed storage size in the DB where the signature is stored. You are essentially dealing with HTML here. The code tags are simply text just like the content of the sig. They have to be stored in the DB just like the content. They take up space in the DB just like the content. So they count toward the allowable storage limit just like the content.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to ginolard)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Suggestions & Feedback >> Bug in signature length? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts