Para curl try
curl --path-as-is
--path-as-is
Tell curl to not handle sequences of /../ or /./ in the given URL path. Normally curl will squash or merge them according to standards but with this option set you tell it not to do that.
Added in 7.42.0.
Veja RFC 3986