At least I learn from my mistakes

Daniel Sheppard daniels at pronto.com.au
Thu Sep 29 03:07:48 EDT 2005


Because I just did the same thing, I noticed that the mime-type matching
is wrong:

                elsif @conf[:rewrites_on]
                    case res.content_type
                    when /^text\/html/, /^application\/xhtml+xml/

you need to escape the + in the regex.

#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mousehole-scripters/attachments/20050929/5ac6c6ac/attachment.htm


More information about the Mousehole-scripters mailing list