#4001 closed defect (bug) (fixed)
clean_url() adds "http://" to relative links
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.0.10 | Priority: | high |
| Severity: | normal | Version: | 2.0.10 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
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)
#6
@
19 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopen to fix urls relative to current directory.
Note: See
TracTickets for help on using
tickets.
Hmm, that patch doesn't fix links to scripts in current directory. The edit link in wp-admin/users.php is broken.