upload url when method is GET now redirects to root page instead of 404 page