diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-12-12 17:35:29 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-12-13 10:22:59 +0100 |
commit | 1f179c9fbc5fc4bb7d94e53a52f519110d0b660e (patch) | |
tree | 9bdb8b17d457fd347c63150432809b0f9485d922 /web/lib/aur.inc.php | |
parent | 8f870cc5f4e4810e3fdb2346275a2d7f7e3e91e0 (diff) | |
download | aur-1f179c9fbc5fc4bb7d94e53a52f519110d0b660e.tar.gz aur-1f179c9fbc5fc4bb7d94e53a52f519110d0b660e.tar.xz |
aurjson: Do not search by ID when argument is numeric
When performing info or multiinfo queries, one can currently either pass
package names or package IDs as parameters. As a consequence, it is
impossible to search for packages with a numeric package name because
numeric arguments are always treated as IDs. Since package IDs are not
public anymore these days, simply remove the possibility to search by ID
in revision 5 of the RPC interface.
Fixes FS#47324.
Suggested-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/aur.inc.php')
0 files changed, 0 insertions, 0 deletions