ZF-8032: userShow() functionality breaks if username is passed as the argument

Issue Type: Bug Created: 2009-10-07T23:00:44.000+0000 Last Updated: 2009-10-08T06:22:57.000+0000 Status: Resolved Fix version(s): - 1.9.4 (13/Oct/09)

Reporter: Thorsten Suckow-Homberg (thorsten.suckow) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_Service_Twitter

Related issues: Attachments:


see ZF-7667 - due to changes related to validating the Twitter Service's "big integer", the passed argument is now filtered using "_validInteger" in "Zend_Service_Twitter" - this, however, will return "0" everytime a screen name is submitted to this function. Thus, userShow() is not able to handle screen names as an argument anymore.


Posted by Thorsten Suckow-Homberg (thorsten.suckow) on 2009-10-07T23:25:44.000+0000

The same goes for "friendshipExists", where _validInteger won't let any screen name through. Shame on you, dev!

Posted by Thorsten Suckow-Homberg (thorsten.suckow) on 2009-10-07T23:27:03.000+0000

...and friendshipDestroy/create... the list goes on and on ;)

Posted by Jon Whitcraft (sidhighwind) on 2009-10-08T06:18:46.000+0000

This was an over site on my part. I have since fixed the regression and have added a unit test to gaurd against further breakage. This was merged into the release branch with r18495.

Posted by Thorsten Suckow-Homberg (thorsten.suckow) on 2009-10-08T06:22:57.000+0000


Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.