OXID-eSales/oxideshop_ce — pull request #190 by robinlehrmann (2014-11-24 17:10:33+00:00)
Title: fixing current url matching

The URL don't match if ```$this->getServerVar('SCRIPT_NAME')``` is setted.

I have created a module and overwrite the "oxDynImgGenerator". Then I change the .htaccess like this:
```
RewriteCond %{REQUEST_URI} (\/out\/pictures\/generated\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.jpe?g|\.gif|\.png|\.svg)$ modules/example/getimg.php
```

In the enterprise version matches the oxbaseshop with shopid "1" because the condition never matches.

Sometimes we get a redirect on the "mallshopstart" template.

I think it is a highly privileg hotfix and you should merge it in this version.

Cheers, Robin