diff options
author | matthew <matthew> | 2009-08-10 15:35:48 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-08-10 15:35:48 +0000 |
commit | 3924b2973865b13fc37ff89d8e8c0b30b9234f8b (patch) | |
tree | 29325aa7c8cb325c5e3d88c9cf58529cbf24e389 | |
parent | 142d049ca8568a9b18f7fea19581e82cbbd97f30 (diff) |
Portakabin(TM).
-rwxr-xr-x | web/index.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi index ec02d9a40..2031dda46 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.261 2009-08-10 12:24:06 matthew Exp $ +# $Id: index.cgi,v 1.262 2009-08-10 15:35:48 matthew Exp $ use strict; use Standard; @@ -261,6 +261,7 @@ sub submit_problem { $input{$_} = lc $input{$_} if $input{$_} !~ /[a-z]/; $input{$_} = ucfirst $input{$_}; $input{$_} =~ s/\b(dog\s*)shit\b/$1poo/ig; + $input{$_} =~ s/\b(porta)\s*([ck]abin|loo)\b/[$1ble $2]/ig; } my @errors; |