[macruby-changes] [4290] ControlTower/trunk/ext/CTParser/CTParser.m

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 25 20:06:03 PDT 2010


Revision: 4290
          http://trac.macosforge.org/projects/ruby/changeset/4290
Author:   joshua.ballanco at apple.com
Date:     2010-06-25 20:06:02 -0700 (Fri, 25 Jun 2010)
Log Message:
-----------
Need this for Rack::URLMap

Modified Paths:
--------------
    ControlTower/trunk/ext/CTParser/CTParser.m

Modified: ControlTower/trunk/ext/CTParser/CTParser.m
===================================================================
--- ControlTower/trunk/ext/CTParser/CTParser.m	2010-06-26 01:40:28 UTC (rev 4289)
+++ ControlTower/trunk/ext/CTParser/CTParser.m	2010-06-26 03:06:02 UTC (rev 4290)
@@ -113,6 +113,7 @@
 
     [environment setObject:@"HTTP/1.1" forKey:@"SERVER_PROTOCOL"];
     [environment setObject:SERVER_SOFTWARE forKey:@"SERVER_SOFTWARE"];
+    [environment setObject:@"" forKey:@"SCRIPT_NAME"];
 
     // We don't do tls yet
     [environment setObject:@"http" forKey:@"rack.url_scheme"];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100625/bd535b0d/attachment.html>


More information about the macruby-changes mailing list