cesanta/fossa

ns_connect_http() does not encode passed URL

kkutsner opened this issue · 1 comments

Fossa's documentation does not say that passed URL to ns_connect_http() routine should be escaped from spaces, etc. If it is by design, I would expect to see a note on documentation or some kind of assertion in the code to warn developers that URL should be encoded before passing. However, it will be nice if ns_connect_http() route encodes the passed URL internally.