[aur-dev] [PATCH] aurjson: Do not interpret hexadecimal strings as IDs

Lukas Fleischer lfleischer at archlinux.org
Sat Dec 12 21:07:06 UTC 2015

On Sat, 12 Dec 2015 at 18:38:01, Lukas Fleischer wrote:
> When performing info or multiinfo queries, one can either pass package
> names or package IDs are parameters. Currently, strings like "0xdbe" are
> parsed as package IDs which is not what we want. Change the parser such
> that only strings matching [0-9]+ are treated as IDs.
> Fixes FS#47324.
> Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
> ---
>  web/lib/aurjson.class.php | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> [...]

Dave and me just discussed this patch on IRC. I will drop this from pu
and replace it with another patch that removes the possibility to search
by package IDs altogether.

More information about the aur-dev mailing list