The Computer Oracle

Telling cUrl not to normalize a url

--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Cosmic Puzzle

--

Chapters
00:00 Question
00:35 Accepted answer (Score 33)
00:48 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'