jyn514 / threaded-server

A stupid simple server with threading
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Get url-encoding working #12

Open jyn514 opened 5 years ago

jyn514 commented 5 years ago

This will be a pain because then we have to treat URLs as arbitrary binary instead of strings (because /%00blah.pdf) is a valid url

jyn514 commented 5 years ago

I think adding an explicit length parameter for the url is the way to go. That means we can't use string library functions for the url. Would be nice to know if nulls are allowed or if we can just strip them.