From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.226.196 with SMTP id ix4cs211461qcb; Tue, 3 Jan 2012 02:30:45 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCMKxyryqChDRsYv4BBoEkQMkmg@googlegroups.com designates 10.224.202.4 as permitted sender) client-ip=10.224.202.4; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCMKxyryqChDRsYv4BBoEkQMkmg@googlegroups.com designates 10.224.202.4 as permitted sender) smtp.mail=rack-devel+bncCMKxyryqChDRsYv4BBoEkQMkmg@googlegroups.com; dkim=pass header.i=rack-devel+bncCMKxyryqChDRsYv4BBoEkQMkmg@googlegroups.com Received: from mr.google.com ([10.224.202.4]) by 10.224.202.4 with SMTP id fc4mr34976260qab.13.1325586643827 (num_hops = 1); Tue, 03 Jan 2012 02:30:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:date:from:reply-to:to:message-id:subject:mime-version :x-original-sender:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=achbUUOVgHV2PJFD+jMnhIhmMbmnQhBb5tbVGii//iE=; b=pB2BXRQ3sBceK5AG6yjsCWvsf26O7sCZWIGAhH6ry0HGGd+HOFqUajaTbFm7aQ5Xy9 bNRyoXclSkx7T+se9ZI9CqjS6z1meY4Qo7vUp7hxVJayKXlatJ6jXz4PaaaXgU7xnUtG a8+C8QxRQA+zFcoVsmbTzneEhJTiw1WAxqSJI= Received: by 10.224.202.4 with SMTP id fc4mr11306361qab.13.1325586641288; Tue, 03 Jan 2012 02:30:41 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.224.33.207 with SMTP id i15ls846873qad.2.gmail; Tue, 03 Jan 2012 02:30:40 -0800 (PST) Received: by 10.224.188.65 with SMTP id cz1mr105532803qab.2.1325586640895; Tue, 03 Jan 2012 02:30:40 -0800 (PST) Received: by 10.224.174.1 with SMTP id r1msqaz; Tue, 3 Jan 2012 00:48:26 -0800 (PST) Received: by 10.236.127.166 with SMTP id d26mr7077671yhi.14.1325580506034; Tue, 03 Jan 2012 00:48:26 -0800 (PST) Date: Tue, 3 Jan 2012 00:48:25 -0800 (PST) From: Erik Johansson Reply-To: rack-devel@googlegroups.com To: rack-devel@googlegroups.com Message-ID: <5707368.195.1325580505549.JavaMail.geo-discussion-forums@yqbu38> Subject: Rack::Static severly broken in 1.4.0 MIME-Version: 1.0 X-Original-Sender: erikjohansson.net@gmail.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary="----=_Part_194_9343752.1325580505548" ------=_Part_194_9343752.1325580505548 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I'm all for new features, but the backwards breaking change in Rack::Static goes beyond me. use Rack::Static, :urls => ['/css/', '/graphics/', '/js/'], :root => "public" That line has been sitting in my dev environment for the last year, working like a charm, upgraded Rack and bam, now all requests are looking for index.html. To me it makes absolutely no sense that '/' is mapped to index.html by default, it should only be relevant if you've specified :index. Why is index.html the default setting? ------=_Part_194_9343752.1325580505548 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit I'm all for new features, but the backwards breaking change in Rack::Static goes beyond me.

use Rack::Static, :urls => ['/css/', '/graphics/', '/js/'], :root => "public"
That line has been sitting in my dev environment for the last year, working like a charm, upgraded Rack and bam, now all requests are looking for index.html.

To me it makes absolutely no sense that '/' is mapped to index.html by default, it should only be relevant if you've specified :index.
Why is index.html the default setting?
------=_Part_194_9343752.1325580505548--