Menu

#3 Normalization breaking templates

open
nobody
5
2012-09-14
2009-04-02
youngian
No

I couldn't get templates to work in 2.4, and tracked it down to the following code at line 190 of grabcartoons.pl:

Normalize before random selection, otherwise we might

end up with duplicate comics

foreach (@ARGV) {
$ = lc($);
s/\W+/_/g;
}

It looks like this is stripping the name of its ':' too early, and so it is not being recognized as a template.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB