summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-13 18:45:09 +0100
committerYorhel <git@yorhel.nl>2010-12-13 18:45:09 +0100
commitd4722b01f646ec85ae44895a468c0a717991e15c (patch)
tree690044dd961f323a0576a629e190c983e229718c /lib/VNDB/Handler/Misc.pm
parent9000f60e314c9d19dd1be5e8028cfe26b236f31d (diff)
Removed /u+/tags and replaced/added links to /g/links?u=X
The new tag link browser has replaced the crappy old user-tags-browser.
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 081bbb25..b5fe95d6 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -19,6 +19,7 @@ YAWF::register(
qr{opensearch\.xml}, \&opensearch,
# redirects for old URLs
+ qr{u([1-9]\d*)/tags}, sub { $_[0]->resRedirect("/g/links?u=$_[1]", 'perm') },
qr{(.*[^/]+)/+}, sub { $_[0]->resRedirect("/$_[1]", 'perm') },
qr{([pv])}, sub { $_[0]->resRedirect("/$_[1]/all", 'perm') },
qr{v/search}, sub { $_[0]->resRedirect("/v/all?q=".uri_escape($_[0]->reqParam('q')), 'perm') },