The poll bug summary topic
-
Let's put all the poll bugs here so it's easy to read...
BUG: DSC-POLL-001
Reference
Poll name field is not properly escaped in error popups, allowing for injection of unsanitized HTML into the popup
CLOSED: FIXED[poll name=<script>alert("hi!")</script>] - Only one option, triggering the popup [/poll]
BUG: DSC-POLL-002
Reference
ReferenceHTML tags are allowed in poll options, allowing for various layout-breaking injections
[poll] - <img> tags allow insertion of massive images, completely breaking the display. Even moderate sized images (say about 90px) can cause issues - Other HTML tags can change the size and location of text, breaking the layout in assorted ways [/poll]
**BUG: DSC-POLL-003** Display of polls in preview is out of sync with baked post [Reference](http://what.thedailywtf.com/t/discoursistent-polls/48459/18)CLOSED: FIXED[poll] - An option - [poll] - where does this go? - or this? [/poll] [/poll]
BUG: DSC-POLL-004CLOSED:NOTABUG
The poll was closed...
Hide results button gets broken somehow ( )
Reference[poll] - Op1 - Op2 - Op3 - Op4 - - - - :badger: [/poll]
BUG: DSC-POLL-005
Polls sometimes cause JS errors that crash the preview
ReferenceBUG: DSC-POLL-006
Polls in quotes appear as completely seperate polls
Reference**BUG: DSC-POLL-007** Lines break for small amounts of text and completely break the layout of the poll... [Reference](http://what.thedailywtf.com/t/poll-testing-post-beta7/48458/114?u=sloosecannon) [Reference](http://what.thedailywtf.com/t/poll-testing-post-beta7/48458/126) ``` [poll] - Option - Another option - Another moderately long but still not really all that long option [/poll] ``` ---CLOSED: FIXED
If someone could wikify this post, that would probably be the best way to do itThanks @pjh &&/|| @loopback0
-
do we want to track my non breaking poll bugs? the layout breaking without using any discohtmbbdown markup ones
-
Yeah, I'd just categorize em together if they're similar though
-
DSC-POLL-8675309: previews shit themselves
http://i.imgur.com/ANLSJZM.png
Appears on both poll and non-poll drafts, occassionally. When that happens, the preview window ceases to update.
-
...?
-
Were you editing when it got wikified? I think wikification causes those...
-
I get it sometimes in t/1000 when liking posts; sometimes Dischorse gets in a right tizz, and just throws errors at me like shuriken
-
I got the same error when loading the topic just now.
-
No idea why my name is in the edit history; I didn't do anything...
-
I entered the topic and got it.
-
XD WTF?<a
-
That happens when you're in a topic and a post in the loaded range of posts is wikified.
-
BUG: DSC-POLL-003
Display of polls in preview is out of sync with baked postHere's a fix for that one
BUG: DSC-POLL-005
Polls sometimes cause JS errors that crash the previewI would a reliable repro for that one. (cc. @Maciejasjmj)
BUG: DSC-POLL-007
Lines break for small amounts of text and completely break the layout of the poll...This is already solved.
-
OP updated, thanks :)