Revision 39
- Date:
- 2010/07/27 17:47:40
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/core/lib/Contenido/Apache.pm
115 115 116 116 sub is_valid_request { 117 117 my $r = shift; 118 if ($r->uri =~ /^(?:\/i\/|\/images\/|\/binary\/)/ or ($r->content_type && $r->content_type !~ m#(?:^text/|javascript|json|^httpd/unix-directory)#i)) { 118 if ($r->uri =~ /^(?:\/i\/|\/images\/|\/binary\/)/ or ($r->content_type && !($r->content_type =~ m#(?:^text/|javascript|json|^httpd/unix-directory)#i || $r->content_type =~ /rss/i)) ) { 119 119 return 0; 120 120 } else { 121 121 return 1;