Opened 14 years ago
Closed 10 years ago
#16909 closed defect (bug) (wontfix)
some Location headers are using relative url's (2)
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | HTTP API | Keywords: | |
Focuses: | Cc: |
Description
I started this in #14062 and already did some fixes for 3.1.
Just collecting some more and providing patches.
Attachments (5)
Change History (16)
#3
@
14 years ago
- Keywords has-patch removed
admin_url will return a absolute URL. self_admin_url() is only needed for pages accessible from both the Network admin (or users admin) as well as the normal admin.
#4
@
14 years ago
Replying to dd32:
admin_url will return a absolute URL. self_admin_url() is only needed for pages
accessible from both the Network admin (or users admin) as well as the normal
admin.
Ah, okay. Had not thought about that, the first patch was mainly a regex search, so I assume most of it does not apply any longer.
what about /wp-admin/network/edit.php and /wp-amin/user/admin.php? Is it the same?
#5
@
14 years ago
Found it via the options page. A _wp_http_referer is placed in there and later used in options.php to redirect to (/wp-admin/options.php:161). It was no full absolute location.
#6
@
14 years ago
Better HTTP Redirects now supports WB_DEBUG and displays extensive information about the redirect.
Some leftover