OXID-eSales/oxideshop_ce — pull request #191 by robinlehrmann (2014-12-08 14:03:44+00:00)
Title: fixing current url matching in oxUtilsServer

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

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" everytime because the condition never matches.

So I 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