Changes between Version 2 and Version 3 of Ticket #43539, comment 9
- Timestamp:
- 03/17/2018 07:08:42 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43539, comment 9
v2 v3 28 28 and you'll see status 200 but output will be http://stream.localhost/feed/test/feed/test/ - this url is potential url to trigger redirect. 29 29 30 But there's no redirect because check on original line 532 `if ( !redirect_canonical($redirect_url, false) ) {` returns `http://stream.localhost/feed/test/feed/test/ ` instead of empty string and that's caused because core WP doesn't handle properly custom feed types in redirect_canonical function and always adds /feed/test/ on top of current url. More info you can find on screenshots from the description of this ticket.30 But there's no redirect because check on original line 532 `if ( !redirect_canonical($redirect_url, false) ) {` returns `http://stream.localhost/feed/test/feed/test/feed/test/` instead of empty string and that's caused because core WP doesn't handle properly custom feed types in redirect_canonical function and always adds /feed/test/ on top of current url. More info you can find on screenshots from the description of this ticket.