This discussion has been archived.
No new comments can be posted.
replies to comments containing character entities & utf-8 chars >!<
|
Log In/Create an Account
| Top
| 1000 moderator points
| 13 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(Score: 2) by martyb on Sunday November 16 2014, @11:25PM
According to TheMightyBuzzard, when I posed:
(Score: 2) by martyb on Sunday November 16 2014, @11:34PM
According to TheMightyBuzzard, when I posed:
He replied:
(Score: 2) by The Mighty Buzzard on Monday November 17 2014, @10:22AM
quote " gt/lt > amp &
123
456
789
(Score: 2) by The Mighty Buzzard on Monday November 17 2014, @10:30AM
quote " gt/lt > amp &.
123
456
789
(Score: 2) by The Mighty Buzzard on Monday November 17 2014, @10:35AM
quote " gt/lt > amp &..
123
456
789
(Score: 2) by The Mighty Buzzard on Monday November 17 2014, @10:36AM
123
456
789
(Score: 2) by martyb on Tuesday November 18 2014, @08:20AM
amp & and &
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
amp & and &
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
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
<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
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
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
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:
If I have missed any user-visible input/output/modification location, please reply and let me know!