View Single Post
Old 08-16-2004, 05:56 PM  
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
anti hotlink rewriting hole?

I just realised theres a huge f**king hole in my freehost anti hotlink rewriting when dealing with sites like fusker because they are putting the site url in the query string like this:

http://wanker.leech.com/thief.php?ht...site/pics.html
I'm using something like this
RewriteCond %{HTTP_REFERER} !^http://.*just404.com [NC]

so my rules match and let it thru because the domain is in the query string

I have to amend the rules I dunno how to right now I hate regexp
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote