Crash my webserver!

Vladimir Panteleev thecybershadow.lists at gmail.com
Sun May 14 11:32:46 UTC 2023


On Sunday, 14 May 2023 at 10:56:29 UTC, Andrea Fontana wrote:
> Hmm I don't think you can use utf-8 encoding in your request. I 
> think everything must be encoded as old US-ASCII.

Oh also, I noticed that bad UTF-8 in URLs is rejected. Unless 
you're decoding UTF for the purpose of validating that further 
logic doesn't have to deal with bad UTF-8, that also indicates a 
potential inefficiency. Web servers don't need to do any UTF-8 
decoding, but it's very easy to do it accidentally in D.



More information about the Digitalmars-d mailing list