Navigation

    J-Novel Club
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users

    Not sure what to call this...

    Support
    4
    6
    97
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • piisfun
      piisfun Member last edited by

      <insert laughter here>

      Trying to insert the above text without either using HTML entity codes or having other text causes the post to fail with "Post must be longer than 8 characters."

      Not sure why it isn't counting towards the post length?

      Terabyte 1 Reply Last reply Reply Quote 0
      • Terabyte
        Terabyte Premium Member @piisfun last edited by Terabyte

        @piisfun I think the whole text inside <...> is being seen as an HTML element and stripped before the count happens. That in turns makes the code look at an empty post.

        piisfun 1 Reply Last reply Reply Quote 0
        • piisfun
          piisfun Member @Terabyte last edited by piisfun

          @Terabyte It shouldn't do that though... otherwise it leaves the software open to script injection attacks.

          myskaros 1 Reply Last reply Reply Quote 0
          • myskaros
            myskaros Staff @piisfun last edited by

            @piisfun It's probably only the character count function that incorrectly interprets angle brackets as HTML, you can't actually insert HTML that way as evidenced by your original post.

            jcochran 1 Reply Last reply Reply Quote 1
            • jcochran
              jcochran Member @myskaros last edited by

              @myskaros given the 65535 character limit noticed the the bookworm character summary thread, I have to wonder if the error message was generated by the underlying database, or if it's a programmer response using the output from the character counting function. If it's the later, then there's a potential buffer overflow exploit.

              piisfun 1 Reply Last reply Reply Quote 0
              • piisfun
                piisfun Member @jcochran last edited by

                @jcochran They seem to be handled separately, so that limit isn't fooled.

                I just tested it.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post