We are publishing a new extension and noticed the icon path was wrong. When we click on the admin, the entire applications blows up, instead of just logging the icon error, or showing a not found icon. Right now, the entire extensions admin does not load.
The issue lies in the fact that we blantely trust the URL in the location:
Actually, the entire method needs a try/catch, to prevent from malUrls or invalid binary data in the URL