please review the attached patch.
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | 314314_15_update_validate_D6.patch | 1.11 KB | pasqualle |
| #10 | 314314_10_update_validate_D6.patch | 1.04 KB | mr.baileys |
| #2 | 314314-3-update-validate-D7.patch | 1.05 KB | mr.baileys |
| #1 | 314314-update-validate-D7.patch | 1.12 KB | dave reid |
| update_php_validate.patch | 841 bytes | bastos |
Comments
Comment #1
dave reidComment #2
mr.baileysAfter applying this patch, the W3C validator still reported an issue with the use of unescaped ampersands in URLs (one instance, which results in a number of errors and warnings).
From Common HTML validation problems (referred to by the W3C validator service):
Made another change to fix the issue described above.
+1 positive review from me on this patch. After applying the W3C validator stops complaining, and the page succesfully passes XHTML 1.0 Strict validation.
Comment #4
mr.baileysThis patch still applies against HEAD. Re-testing.
Comment #6
damien tournoud commentedTest bot glitch.
Comment #7
dave reidTested and works fine. I tried running update.php without JavaScript, but it had the same not-working behaviour as before the patch.
Comment #8
dries commentedCommitted to CVS HEAD. Thanks.
Comment #9
pasqualleComment #10
mr.baileysPorted to D6.
Comment #11
dave reidAdding tag.
Comment #12
pasqualleThe XHTML is valid in the update.php after the patch..
The string concatenation is different than it is used in D6, but as I see it follows the new coding standards.
Comment #13
damien tournoud commentedThe new coding standard only apply from D7 onwards.
Comment #14
pasqualle@Damien: Are you sure? I can't find any info about it, and I am almost sure that many module developers follow the new string concatenation standard in their D6 modules..
But I agree that would be nice if the code style would be the same in the whole Drupal 6 core, regardless what the actual coding standard is..
Comment #15
pasquallestring concatenation fix
Comment #16
pasqualleComment #17
mr.baileysAgree with Damien, I should have followed D6 coding style. I think the coding standards document should be split into versions, with one coding standards document per major branch much like the module developer's guide has a version for D5 and one for D6. I don't think there currently is a way to see what the coding standards for D6 and D5 are...
Thanks for re-rolling Pasqualle, patch is good to go...
Comment #18
mr.baileysremoving old tag since we're now using 'XHTML validation'.
Comment #19
gábor hojtsyThanks, committed to 6.x.