1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Auto Link Bug -- Threads With Prefix

Discussion in 'Troubleshooting and Problems' started by sip, Aug 29, 2015.

Tags:
  1. sip

    sip Member

    Auto Link fails on Threads with prefixes.
    Have tested this multiple times and results are reproducible.
     
  2. sip

    sip Member

  3. Chris D

    Chris D XenForo Developer Staff Member

    Do any internal links work on your own forum?
     
  4. sip

    sip Member

    Yup. Without prefix they do.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    That's quite odd.

    Have you got an example of the prefix names and the URL? Does the URL posted here get converted?
     
  6. sip

    sip Member

  7. Chris D

    Chris D XenForo Developer Staff Member

    Yeah that's expected then.

    The URL is fetched in the context of a guest and we only try to get the title if we get a successful response (200). A guest trying to view a forum they have no permission to would give a forbidden response (403) hence at that point it gives up and can't get a title.
     
  8. sip

    sip Member

  9. sip

    sip Member

    Last edited: Aug 29, 2015
  10. Chris D

    Chris D XenForo Developer Staff Member

    In this particular case, the web server is returning a response which we don't consider to be successful.

    It's returning a "303 See Other " response.

    Strictly speaking, we could consider 3xx responses as successful, or do further checks to ascertain that is the case, but generally a 3xx response isn't "expected" therefore backing out at this point is probably fair.
     
    sip likes this.

Share This Page