Skip to content
Snippets Groups Projects
Commit ab2e7a76 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

refusing text/javascript

parent b8db745a
No related branches found
No related tags found
No related merge requests found
......@@ -289,6 +289,7 @@ class ProxyController extends Controller
break;
// no break
case 'application/javascript':
case 'text/javascript':
abort(415);
case 'application/xml':
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment