https://bugzilla.wikimedia.org/show_bug.cgi?id=60563

--- Comment #7 from Krinkle <[email protected]> ---
Seems RedisBagOStuff has had php serialize for all. So, I'm not sure how it
could've returned strings for integers.

Change I3e0d1c4888062544 made it use native integers where possible but.. Ah,
right. It makes two mistakes:
* encode: Uses ctype_digit to let strings with numbers pass as numbers
* decode: Doesn't cast them to int. And the is_int check is pointless as they
always come out as strings.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to