]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
IE has some issue with notices that are sent with file attachments. It
authorSarven Capadisli <csarven@status.net>
Fri, 30 Oct 2009 21:31:11 +0000 (21:31 +0000)
committerSarven Capadisli <csarven@status.net>
Fri, 30 Oct 2009 21:31:11 +0000 (21:31 +0000)
commitdb9aef9f67a9448e73f6ee3463329045e41084f3
tree1798517e69f16a82acca022a3b0ae76d34123f28
parent900a0e2838e0c84649c3e09e683d0ad37dab9552
IE has some issue with notices that are sent with file attachments. It
doesn't like the XHR response with XHTML DTD. New notices without the
file attachment work fine.

The rendered content (the anchor for the file attachment link) doesn't
appear to be the issue.

To fix this problem, I removed the XHTML DTD line from newnotice's XHR
response. This is unnecessary for text/xml outputs that's intended
for XHR responses any way. It just happens to fix an IE issue.

Still a mystery to me as to why it is particular to notices with file
attachments.
actions/newnotice.php