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

Not a Bug Proxy Images Always Prepends www to Images

Discussion in 'Resolved Bug Reports' started by Snog, Jan 2, 2015.

  1. Snog

    Snog Well-Known Member

    When entering a site without the www prefix, proxy.php always prepends www to the image path making the image a broken image.

    I believe this is done using the board url instead of a relative path.
  2. Mike

    Mike XenForo Developer Staff Member

    The proxy just takes a URL and accesses it. It doesn't do anything to change the URL.

    If you're referring to the proxy.php URL itself, that is accessed via a relative link, so it's based entirely on the base tag on the page (which is based on the URL accessed).

    We'll need a demonstration of the issue.
  3. Snog

    Snog Well-Known Member

    See your PCs for site/login information.
  4. Mike

    Mike XenForo Developer Staff Member

    The proxy wasn't changing anything -- it had to do with an img tag embedding a permission controlled entry and accessed via different URLs (one on the matching domain, thus bypassing the proxy, and one going through the proxy).
  5. Snog

    Snog Well-Known Member

    I see what you're saying. I'll do the htaccess changes which should eliminate that problem for logged in users.

Share This Page