From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.86.99.8 with SMTP id w8cs89643fgb; Mon, 5 Oct 2009 15:02:36 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-XAh85QUAAADPvKGU1dzLMfCq9rc2bJek=chneukirchen=gmail.com@googlegroups.com designates 10.91.91.8 as permitted sender) client-ip=10.91.91.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-XAh85QUAAADPvKGU1dzLMfCq9rc2bJek=chneukirchen=gmail.com@googlegroups.com designates 10.91.91.8 as permitted sender) smtp.mail=grbounce-XAh85QUAAADPvKGU1dzLMfCq9rc2bJek=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-XAh85QUAAADPvKGU1dzLMfCq9rc2bJek=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.91.91.8]) by 10.91.91.8 with SMTP id t8mr3986293agl.13.1254780154946 (num_hops = 1); Mon, 05 Oct 2009 15:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received:received-spf:received:dkim-signature :domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer:reply-to:sender:precedence:x-google-loop:mailing-list :list-id:list-post:list-help:list-unsubscribe:x-beenthere-env :x-beenthere; bh=qJBnDTu0Tc1ucKYdy//adh7rq9sgLM733tYBcKX3yqY=; b=LlWRohZIKz+wz1WrkZ1jH8YEXgSVyxguvPnwn1BmRoqwuBxgTavtW+Tu20RJDIibn7 qi3MzzomzCi5TE3990/i6jeczw8Pyd4mB/MwVabRJJqvBxfC3Fz3xVh9HbeW3TKG5RL+ ltxlNke0uW1YsrEe45PkWHSwzc3GMLz2yu9P8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :dkim-signature:domainkey-signature:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer:reply-to:sender:precedence:x-google-loop:mailing-list :list-id:list-post:list-help:list-unsubscribe:x-beenthere-env :x-beenthere; b=O11QpgZT6Os5wKH771bZW/gFsmMCwhEPjxHt8hxGC+xCxiJ4R+kOJKsgrYbRjiLU/z NZFUI8XGTnTexgV5dlP95Wg6igO4SUBQz49N+rzByh/hu/4hBwecWg51ZHa0f4XrHIAo uwIPGjEVghBSKahjDWI4edSOiGPHQm18mnkqg= Received: by 10.91.91.8 with SMTP id t8mr395443agl.13.1254780154879; Mon, 05 Oct 2009 15:02:34 -0700 (PDT) Received: by 10.177.5.4 with SMTP id h4gr15yqi.0; Mon, 05 Oct 2009 15:02:34 -0700 (PDT) X-Sender: jftucker@gmail.com X-Apparently-To: rack-core@googlegroups.com Received: by 10.210.7.23 with SMTP id 23mr482016ebg.4.1254780153702; Mon, 05 Oct 2009 15:02:33 -0700 (PDT) Received: by 10.210.7.23 with SMTP id 23mr482014ebg.4.1254780153664; Mon, 05 Oct 2009 15:02:33 -0700 (PDT) Return-Path: Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by gmr-mx.google.com with ESMTP id 14si1091143ewy.5.2009.10.05.15.02.32; Mon, 05 Oct 2009 15:02:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.219.211 as permitted sender) client-ip=209.85.219.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.219.211 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by mail-ew0-f211.google.com with SMTP id 7so4028974ewy.17 for ; Mon, 05 Oct 2009 15:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=rvON9Y9EmP4tl38u48A/Q3BB05c9C+nYXz2Gc0I4IWk=; b=A5QOpVcZgTnH8FPuCyOlC1aq4Ykeppx1Hi8nB1ia1kYjZy85qlLl9yhBH9vQ4V+gBL GRyNgskD2yrDnmUauZvRh6x/8yCzW0rSF86L4jp8q9pVirqeS28fGRMbs7J6WC7GK9TC yF1p+4oHHuKPVvnBn+7B109vfsixO/ODyIlh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=RHoP3eUcQ9heA4CqIdbuVrt0wIxA6YRLo0mBtzErhvn5WEVJHe9GNDwfVeQXxTSD4F k2JqDz/HuzK7Lqg65IoRU5ixFpPMNv8ctBUhuDIWjC4JASKX352lmU+AgSVTcr6g979P kw8/x+F8UcA1fIz1/vwk+HHzI8nVdgJDFPsvE= Received: by 10.216.30.21 with SMTP id j21mr132182wea.129.1254780151403; Mon, 05 Oct 2009 15:02:31 -0700 (PDT) Return-Path: Received: from ?192.168.1.18? (bb-87-81-237-21.ukonline.co.uk [87.81.237.21]) by mx.google.com with ESMTPS id j8sm14283351gvb.7.2009.10.05.15.02.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Oct 2009 15:02:30 -0700 (PDT) From: James Tucker Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Relax Lint slightly to allow subclasses of the required types Date: Mon, 5 Oct 2009 23:02:29 +0100 Message-Id: To: rack-devel@googlegroups.com, rack-core@googlegroups.com Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Reply-To: rack-core@googlegroups.com Sender: rack-core@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-core@googlegroups.com; contact rack-core+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-core@googlegroups.com X-BeenThere: rack-core@googlegroups.com As per ticket #78[1], repeated here for your convenience: In order to better service XSS protections, rails-core desires to be able to pass subclasses of string in the body portion of the response tuple. Passing subclasses for IO bound operations seems reasonable, as does subclassing the types given in the spec. The given patch relaxes all instance_of? predicates to kind_of?. If anyone has a good reason to say "no", please weigh in now. Kind regards to everyone, James. [1] http://rack.lighthouseapp.com/projects/22435-rack/tickets/78-relax-lint-slightly-to-allow-subclasses-of-the-required-types