~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to lib/webrick/httpservlet/cgihandler.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        end
76
76
 
77
77
        data = "" unless data
78
 
        raw_header, body = data.split(/^[\xd\xa]+/on, 2) 
 
78
        raw_header, body = data.split(/^[\xd\xa]+/, 2) 
79
79
        raise HTTPStatus::InternalServerError,
80
80
          "Premature end of script headers: #{@script_filename}" if body.nil?
81
81