suncat2000 / MobileDetectBundle

Symfony 2/3/4 bundle for detect mobile devices, manage mobile view and redirect to the mobile and tablet version.
397 stars 153 forks source link

Not configurable server status code on switch param redirect #107

Closed todpetkov closed 7 years ago

todpetkov commented 7 years ago

When redirecting by switch parameter the server status code is now hardcoded to 302 and doesn't use config options. Here is the place in the source: https://github.com/suncat2000/MobileDetectBundle/blob/master/Helper/DeviceView.php, line 225 (inside method getRedirectResponseBySwitchParam())

suncat2000 commented 7 years ago

@todpetkov yes((( I am fix it when I have free time.

suncat2000 commented 7 years ago

@todpetkov fixed by @orions