Needs review
Project:
Plus 1
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Aug 2011 at 19:01 UTC
Updated:
23 Aug 2011 at 13:02 UTC
The form action URL is not escaped properly, generating badly-formed XML (as can be tested by installing http://drupal.org/project/xhtml).
See patch.
| Comment | File | Size | Author |
|---|---|---|---|
| plus1-xhtml.patch | 1.18 KB | ohnobinki |
Comments
Comment #1
nancydruYou wouldn't be looking for someone to encourage use of your module, would you? No one has ever complained before.
Comment #2
ohnobinki commentedI am noting that the Plus 1 module produces invalid HTML. It is easier to notice errors such as this when asking the web browser to parse the document as XML.
Thus this bug is valid regardless of how you validate the HTML on your site. I am just referencing the module as a way to expose the error (on mozilla browsers, for example, sending a document with invalid XML as application/xhtml+xml produces a big error message). I do not recommend the module be used for production sites because drupal does not produce well-formed output, but I find it useful for developing and getting it closer to the ideal...