Stories
Slash Boxes
Comments

Dev.SN ♥ developers

posted by martyb on Sunday November 16 2014, @11:13PM   Printer-friendly
from the no-pile-of-poo-char-here- dept.

This is a story where we can test replies to comments containing character entities and utf-8 chars

 
This discussion has been archived. No new comments can be posted.
Display Options Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by The Mighty Buzzard on Monday November 17 2014, @10:36AM

    by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@soylentnews.org> on Monday November 17 2014, @10:36AM (#28187) Journal
    This one appears to be the start of working correctly.
    --
    123
    456
    789
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by martyb on Tuesday November 18 2014, @08:20AM

    by martyb (76) on Tuesday November 18 2014, @08:20AM (#28190) Journal

    amp & and &amp;

    The title, and the preceding paragraph, was comprised of these characters (each of which is quoted):

    "a" "m" "p" " " "&" " " "a" "n" "d" " " "&" "a" "m" "p" ";" "a" "m" "p" ";"

    Submitted as "HTML Formatted" without previewing.

    • (Score: 2) by martyb on Tuesday November 18 2014, @08:22AM

      by martyb (76) on Tuesday November 18 2014, @08:22AM (#28192) Journal

      amp & and &amp;

      The title, and the preceding paragraph, was comprised of these characters (each of which is quoted):

      "a" "m" "p" " " "&" " " "a" "n" "d" " " "&" "a" "m" "p" ";" "a" "m" "p" ";"

      Submitted as "Plain Old Text" without previewing.

    • (Score: 2) by The Mighty Buzzard on Tuesday November 18 2014, @08:33AM

      by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@soylentnews.org> on Tuesday November 18 2014, @08:33AM (#28193) Journal

      That mean it came through okay then? Looked the same in email notification thankfully.

      --
      123
      456
      789
      • (Score: 2) by martyb on Tuesday November 18 2014, @11:37PM

        by martyb (76) on Tuesday November 18 2014, @11:37PM (#28194) Journal
        <p>It looks like it came through okay... I was waiting to see what the notification would look like.  (I have this nick set up to notify me of any replies via the web.)  Well done, fine sir!

        <p>I've still got some more ideas up my sleeve, but lack the time at the moment to pursue them.  I hope I might have some time in the next few days to try more.

        <p>These are the variables to permute:
        <0l>
        <li>Characters under test: ampersand, less-than, greater-than, quote, and a sampling of UTF-8 1-octet chars, UTF-8 2-octet chars, UTF-8 3-octet chars, UTF-8 4-octet chars.
        <li>Character representation: literal character, named character entity, decimal numeric character entity, hexadecimal numeric character entity
        <li>Text location: (all places where user input is permitted) story submission title, story submission text, story dept. (e.g. from the hyphenated-words dept.), story text, story extended text area, comment title, comment text, comment reply title, comment reply text, journal article title, journal article text, journal comment title, journal comment text, journal comment reply title, journal comment reply text, poll text, poll comment, nickname .sig text, anything else??)
        <li>Story submission / comment submission format: "Plain Old Text", "HTML Formatted", "Extrans (html tags to text)", and "code"
        <li>Text viewing location: on-line web page, e-mailed story, web message, RSS feed, Atom feed, "Authors page" (http://dev.soylentnews.org/authors.pl)
        <li>Preview count: how many times a user has previewed a story submission or [journal|story] comment prior to submitting: 0, 1, 2 (preview has had some issues in the past)
        </ol>

        <p>If I have missed any user-visible input/output/modification location, please reply and let me know!
        • (Score: 2) by The Mighty Buzzard on Tuesday November 18 2014, @11:51PM

          by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@soylentnews.org> on Tuesday November 18 2014, @11:51PM (#28195) Journal

          I think that covers it all but to be clear we're looking at output primarily because input shouldn't be filtered anymore.

          --
          123
          456
          789
          • (Score: 2) by martyb on Wednesday November 19 2014, @06:19AM

            by martyb (76) on Wednesday November 19 2014, @06:19AM (#28196) Journal

            I think that covers it all but to be clear we're looking at output primarily because input shouldn't be filtered anymore.

            Yes, indeed! I got distracted in trying to discover all the inputs/outputs that I failed to include the expected output. :/

      • (Score: 2) by martyb on Thursday November 20 2014, @10:40AM

        by martyb (76) on Thursday November 20 2014, @10:40AM (#28197) Journal

        Ugh. failed to preview and had a typo in specifying an ordered list as well as having submitted as "Code"; am resubmitting as "HTML Formatted".

        It looks like it came through okay... I was waiting to see what the notification would look like. (I have this nick set up to notify me of any replies via the web.) Well done, fine sir!

        I've still got some more ideas up my sleeve, but lack the time at the moment to pursue them. I hope I might have some time in the next few days to try more.

        These are the variables to permute:

        1. Characters under test: ampersand, less-than, greater-than, quote, and a sampling of UTF-8 1-octet chars, UTF-8 2-octet chars, UTF-8 3-octet chars, UTF-8 4-octet chars.
        2. Character representation: literal character, named character entity, decimal numeric character entity, hexadecimal numeric character entity
        3. Text location: (all places where user input is permitted) story submission title, story submission text, story dept. (e.g. from the hyphenated-words dept.), story text, story extended text area, comment title, comment text, comment reply title, comment reply text, journal article title, journal article text, journal comment title, journal comment text, journal comment reply title, journal comment reply text, poll text, poll comment, nickname .sig text, anything else??)
        4. Story submission / comment submission format: "Plain Old Text", "HTML Formatted", "Extrans (html tags to text)", and "code"
        5. Text viewing location: on-line web page, e-mailed story, web message, RSS feed, Atom feed, "Authors page" (http://dev.soylentnews.org/authors.pl)
        6. Preview count: how many times a user has previewed a story submission or [journal|story] comment prior to submitting: 0, 1, 2 (preview has had some issues in the past)

        If I have missed any user-visible input/output/modification location, please reply and let me know!