Remove leading and trailing slash of MEDIA_URL