rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Relax Lint slightly to allow subclasses of the required types
@ 2009-10-05 22:02 James Tucker
  0 siblings, 0 replies; only message in thread
From: James Tucker @ 2009-10-05 22:02 UTC (permalink / raw)
  To: rack-devel, rack-core

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  

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,


[1] http://rack.lighthouseapp.com/projects/22435-rack/tickets/78-relax-lint-slightly-to-allow-subclasses-of-the-required-types

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-05 22:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-05 22:02 Relax Lint slightly to allow subclasses of the required types James Tucker

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).