Changeset 775
- Timestamp:
- 04/20/06 15:41:02 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
Changes (modified) (1 diff)
-
lib/OpenGuides/Template.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changes
r773 r775 12 12 #103 Fix empty Category/Locale list bug. 13 13 #54 Fix RSS redirection for backwards compatibility. 14 #79 Partial fix to help combat HTML spam 14 15 15 16 0.52 5 March 2006 -
trunk/lib/OpenGuides/Template.pm
r772 r775 263 263 my $categories_text = $q->param('categories'); 264 264 my $locales_text = $q->param('locales'); 265 266 # Basic sanity-checking. Probably lives elsewhere. 267 $categories_text =~ s/</</g; 268 $categories_text =~ s/>/>/g; 269 $locales_text =~ s/</</g; 270 $locales_text =~ s/>/>/g; 271 265 272 @catlist = sort grep { s/^\s+//; s/\s+$//; $_; } # trim lead/trail space 266 273 split("\r\n", $categories_text);
