The Computer Oracle

Telling cUrl not to normalize a url

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization

--

Chapters
00:00 Telling Curl Not To Normalize A Url
00:26 Accepted Answer Score 33
00:33 Thank you

--

Full question
https://superuser.com/questions/1025282/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#url #curl

#avk47



ACCEPTED ANSWER

Score 33


Pass the --path-as-is flag:

$ curl --path-as-is 'http://localhost/a/../b'