Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
made sure img extension happens at end of file name
Browse files Browse the repository at this point in the history
  • Loading branch information
kswedberg committed Dec 16, 2010
1 parent 66fdf0d commit 41f2966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# //Start Responsive Images
RewriteEngine On
# direct image requests to temp
RewriteRule ^rwd-image-trap/.*\.(jpg|jpeg|png|gif) rwd-images/rwd.gif
RewriteRule ^rwd-image-trap/.*\.(jpe?g|png|gif)$ rwd-images/rwd.gif
#ignore trap for non-image requests, rewrite URL without trap segment
RewriteRule ^rwd-image-trap/(.*\.(?!jpg|jpeg|png|gif)(.+)) $1
# //End Responsive Images

0 comments on commit 41f2966

Please sign in to comment.