Bug #6237
closedHTTP redirection expects an absolute URI in the location field
0%
Description
When Saxon does its own URI dereferencing using the ResourceLoader
class, and the HTTP request delivers a 301 response, access is retried using the URI contained in the location
field of the HTTP response header. This fails if the location supplied is a relative URI rather than an absolute URI. It should be resolved against the request URI.
For example, a request to https://www.saxonica.com
returns a 301 response with location=/index.html
, and the next request should be to https://www.saxonica.com/index.html
.
Updated by Norm Tovey-Walsh about 1 year ago
Yes, it certainly should. I thought it was. Assign this to me, if you'd like.
Updated by Michael Kay about 1 year ago
- Status changed from New to Resolved
- Fix Committed on Branch 11, 12, trunk added
- Platforms Java added
Updated by O'Neil Delpratt about 1 year ago
- Fixed in Maintenance Release 12.4 added
Bug fix applied in the Saxon 12.4 Maintenance release. Leaving it marked as 'Resolved' until fix applied on Saxon 11.
Please register to edit this issue