Redirect for extensions.typo3.org
Hey,
as there seems many resources to try to fetch XML from the TER with a wrong URL, I need a redirect on the extensions.typo3.org server (t3o03).
The redirect should handle all urls ending with ?type=837
to https://extensions.typo3.org/?type=837
.
Currently it's used on detail pages, e.g. https://extensions.typo3.org/extension/news?type=837.
I tried with
rewrite ^(/extension/.*)?type=837$ /?type=837 permanent;
but it didn't work. I'm not that good with nginx rewrites.