#4001 closed defect (bug) (fixed)
clean_url() adds "http://" to relative links
| Reported by: | donncha | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 2.0.10 |
| Component: | General | Version: | 2.0.10 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
clean_url() adds 'http://' to relative links like those found in the upload form. This patch checks if the first character is '/' before adding the protocol.
Attachments (1)
Change History (12)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hmm, that patch doesn't fix links to scripts in current directory. The edit link in wp-admin/users.php is broken.