#9432 closed defect (bug) (fixed)
Output Broken: Ticket for collecting patches to proplery encode script and other href attribute values
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Validation | Version: | 2.7.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The output does not validate in certain points because ampersands (&) are not properly used within urls (should be & not a sole &).
this ticket contains patches to fix various of such issues.
Attachments (6)
Change History (20)
@
17 years ago
plugin editor multiple ampersands and a missing ID (accidently taken over from the theme editor, had to be named plugin)
#1
@
17 years ago
Finished with checking the Admin. All pages dones. This should fix all amp; Issues in the Admin but not one with generating CSS for the default theme header image. But that is not solveable w/o changing the overall parameter design.
#6
@
17 years ago
- Milestone Future Release → 2.8
- Resolution → fixed
- Status new → closed
I think everything went in on other tickets.
#7
@
17 years ago
_wp_dashboard_recent_comments_row() in dashboard.php is using get_comment_link() but does not escape it properly for XHTML usage. I created a helper function to do the job (so that a single point needs to be fixed in case of a bad implementation). Patch follows.
#11
@
17 years ago
mmm, you may want to double check that. when the output is meant to be displayed (the default), it should convert un-converted & to &. westi raised a separate bug the other day, however, related to double-escaping no longer occurring or something.
#12
@
17 years ago
double checked it now, clean_url() does &038; (same as &), so it is OK to use it. esc_attr() does &, so it is OK for that to use it as well. clean_url() is my preference here.
i put both changes into one patchfile as well.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
amp; was missing on post edit page