Closed (fixed)
Project:
Flickr
Version:
6.x-1.x-dev
Component:
flickr_sets
Priority:
Critical
Category:
Bug report
Reporter:
Created:
23 Mar 2009 at 17:21 UTC
Updated:
8 Apr 2009 at 16:20 UTC
Jump to comment: Most recent
the is_integer check is unnecessary / invalid / breaking the functionality of flickr_set_load, since filckr album ids exceed php's maximum integer representation. This may be an issue w/ my php version, but it definitely fails for, e.g. album id # 72157615809178832
this patch addresses this issue by changing is_integer to is_numeric.
This will not guarantee that the parameter is a valid set id, but is sufficient to prevent malicious usage.
Flickr's error handling will take care of any numeric-but-invalid ids.
| Comment | File | Size | Author |
|---|---|---|---|
| flickr_sets.module.patch | 474 bytes | aaronbauman |
Comments
Comment #1
rjanson commentedI've applied this patch and verified that my flickr sets are loading properly again.
Comment #2
Anonymous (not verified) commentedThanks , ill get this committed shortly.
Best, Paul
Comment #3
Anonymous (not verified) commented