Workaround for apache mangling our /tag/#blah urls
authorChip Black <bytex64@bytex64.net>
Thu, 6 Jan 2011 08:36:05 +0000 (02:36 -0600)
committerChip Black <bytex64@bytex64.net>
Thu, 6 Jan 2011 08:36:05 +0000 (02:36 -0600)
cgi/cgi_blerg.c

index 6404fa3..83dd53d 100644 (file)
@@ -159,6 +159,8 @@ int main(int argc, char *argv[]) {
                        exit(0);
                }
 
+               if (info.author[0] == 'H')
+                       info.author[0] = '#';
                if (!tag_exists(info.author)) {
                        respond_404();
                        exit(0);