mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-20 02:05:57 +01:00
fix(mbuild): strip leading slashes from urls
This commit is contained in:
committed by
Sebastian Thiel
parent
a630af5830
commit
f835835100
@@ -584,7 +584,7 @@ match result {
|
||||
else if \
|
||||
% endif
|
||||
protocol == "${mp.protocol}" {
|
||||
(self.hub._root_url.clone() + "${mp.path}", "${upload_type_map.get(mp.protocol, mp.protocol)}")
|
||||
(self.hub._root_url.clone() + "${mp.path.lstrip('/')}", "${upload_type_map.get(mp.protocol, mp.protocol)}")
|
||||
} \
|
||||
% endfor
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user