]> git.deb.at Git - deb/packages.git/commit - lib/Packages/Dispatcher.pm
Packages::Dispatcher: Fix parsing error of pathinfo
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 29 Oct 2007 23:43:30 +0000 (00:43 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Mon, 29 Oct 2007 23:43:30 +0000 (00:43 +0100)
commitf0675aeb4cc30c44a2f62d8f9c705ddd84fbdb48
treec572bf59f731e9005f2f83c468cc2b0f68de8d39
parent7d06e82e8b559dae35d06ce09e9e5dde80fce439
Packages::Dispatcher: Fix parsing error of pathinfo

Only take away <lang> and 'source' from the pathinfo if something
actually follows after that. Otherwise we will just emit a confusing
error message. In doubt better interpret this as a search term.
Reported by Paul Wise.
lib/Packages/Dispatcher.pm