fixed protocol relative url upload