Handle malformed URIs as bad requests in the development webserver
Handle malformed URIs as bad requests in the development webserver

Fixes #10445 (found by Dhiraj Mishra).

mainegreen/pdf.js,caremerge/pdf.js,nawawi/pdf.js,mainegreen/pdf.js,timvandermeij/pdf.js,mukulmishra18/pdf.js,Shoobx/pdf.js,macroplant/pdf.js,Shoobx/pdf.js,macroplant/pdf.js,nawawi/pdf.js,timvandermeij/pdf.js,showpad/mozilla-pdf.js,mukulmishra18/pdf.js,xavier114fch/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js,showpad/mozilla-pdf.js,mozilla/pdf.js,Snuffleupagus/pdf.js,timvandermeij/pdf.js,caremerge/pdf.js,mozilla/pdf.js,mozilla/pdf.js,xavier114fch/pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,nawawi/pdf.js,Snuffleupagus/pdf.js