getThreadFromUrl fails on https url, but the request is via http

Xon

Well-known member
Affected version
2.2.11
If getThreadFromUrl is passed https://localhost/thread/1 but it the accessing URL is http://localhost; the method fails to resolve the URL as expected.

This appears to be because getRoutePathFromUrl uses the request protocol/hostname to resolve it from a url to a path.
 
Back
Top Bottom