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

Not a Bug name a thread after a php file name

Discussion in 'Resolved Bug Reports' started by Adam Howard, Feb 15, 2013.

  1. Adam Howard

    Adam Howard Well-Known Member

  2. yavuz

    yavuz Well-Known Member

    Realy weird :D:cautious:
     
    Adam Howard likes this.
  3. Adam Howard

    Adam Howard Well-Known Member

    Confirmed or just me?
     
  4. CyclingTribe

    CyclingTribe Well-Known Member

    Confirmed (after cancelling the login popup):

    403-xf.PNG
     
    Adam Howard likes this.
  5. MattW

    MattW Well-Known Member

  6. CyclingTribe

    CyclingTribe Well-Known Member

    Also does it on hover too:

    xf-admin-php.PNG
     
    Adam Howard likes this.
  7. tenants

    tenants Well-Known Member

    Nice find Adam, does it have to be the exact name and is it Windows / Linux specific ?.

    It's going to be fairly rare that someone will name a thread like that, but needs fixing
     
    Adam Howard likes this.
  8. CyclingTribe

    CyclingTribe Well-Known Member

    Just tested it on my dev install too and not happening there.

    I don't have admin.php .htaccess protected though - would that make a difference? Anyone able to test whether .htaccess makes a difference or not?
     
  9. MattW

    MattW Well-Known Member

  10. MattW

    MattW Well-Known Member

    Tested on my live site with .htaccess blocking all

    Code:
    <Files "admin.php">
    Order Deny,Allow
    Deny from all
    </Files>
    and also requesting valid user

    Code:
    AuthName "If you aren't Matt...."
    AuthType Basic
    AuthUserFile /home/z22se/.htpasswd
    <FilesMatch "admin.php">
    require valid-user
    </FilesMatch>
    Can't reproduce.
     
  11. Vincent

    Vincent Well-Known Member

    I can view the thread the OP is linking to without a problem..
     
  12. MattW

    MattW Well-Known Member

    I can now, so I guess someone has fixed something
     
    Vincent likes this.
  13. Adam Howard

    Adam Howard Well-Known Member

    It would seem so....

    Kind of wondering what the issue was..... Just in case anyone else happens to have the same problem
     
  14. MattW

    MattW Well-Known Member

    Yeah, would be nice, as it was definitely an issue
     
  15. Mike

    Mike XenForo Developer Staff Member

    For reference, it was an overly greedy <FilesMatch> in Apache.
     
    MattW, Adam Howard and Slavik like this.

Share This Page