summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-11-19 16:12:28 -0800
committerBrion Vibber <brion@status.net>2010-11-19 16:12:28 -0800
commitb6159983099e40444ef552b78870e13f60f33545 (patch)
tree0adc420d07b5e6de1dc76347d53d8c8adbb77af5 /scripts
parent94f2f96f2ebe8d7b127ec643f84cbfb20f4bb475 (diff)
Fix ticket #2700: some numeric IDs were misinterpreted as hex numbers instead of strings when '0x123' passed in.
Switched from is_numeric() to a custom self::is_decimal() which is more strict. This makes our behavior match Twitter's API a bit better, so eg this: http://identi.ca/api/statuses/home_timeline/0x6d686b.xml should now be equivalent to: http://identi.ca/api/statuses/home_timeline.xml?screen_name=0x6d686b instead of: http://identi.ca/api/statuses/home_timeline.xml?user_id=7170155
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions