[RSS Feed/News] getThreadFromUrl fails on https url, but the request is via http

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom