Bug in signature length?

Author Message
ginolard

  • Total Posts : 1347
  • Scores: 23
  • Reward points : 0
  • Joined: 8/11/2005
  • Status: offline
Bug in signature length? Tuesday, March 06, 2007 1:37 AM (permalink)
0
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

 
#1
    ebgreen

    • Total Posts : 8219
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    RE: Bug in signature length? Tuesday, March 06, 2007 3:18 AM (permalink)
    0
    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
     
    #2
      ginolard

      • Total Posts : 1347
      • Scores: 23
      • Reward points : 0
      • Joined: 8/11/2005
      • Status: offline
      RE: Bug in signature length? Tuesday, March 06, 2007 3:41 AM (permalink)
      0
      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

       
      #3
        ebgreen

        • Total Posts : 8219
        • Scores: 98
        • Reward points : 0
        • Joined: 7/12/2005
        • Status: offline
        RE: Bug in signature length? Tuesday, March 06, 2007 6:44 AM (permalink)
        0
        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
         
        #4

          Online Bookmarks Sharing: Share/Bookmark

          Jump to:

          Current active users

          There are 0 members and 1 guests.

          Icon Legend and Permission

          • 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
          • Read Message
          • Post New Thread
          • Reply to message
          • Post New Poll
          • Submit Vote
          • Post reward post
          • Delete my own posts
          • Delete my own threads
          • Rate post

          2000-2012 ASPPlayground.NET Forum Version 3.9