Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
casual patch for multibyte uri problem #723
this patch is casual patch for errors about webrick's multi byte uri problem(errors like below).
[2013-01-01 00:07:24] INFO ruby 1.9.3 (2012-04-20) [x86_64-darwin12.2.0] [2013-01-01 00:07:24] INFO WEBrick::HTTPServer#start: pid=38593 port=4000 [2013-01-01 00:07:30] ERROR ArgumentError: invalid byte sequence in US-ASCII /Users/paco/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpservlet/filehandler.rb:384:in `fnmatch' /Users/paco/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpservlet/filehandler.rb:384:in `block in nondisclosure_name?' /Users/paco/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpservlet/filehandler.rb:383:in `each' /Users/paco/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpservlet/filehandler.rb:383:in `nondisclosure_name?' ... ...
referenced this pull request
Mar 14, 2013
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.