You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an obvious bug in this method (second send of notNil)
It's in the Seaside-Pharo-Email package.
isIpAddress: aString
| ip |
ip := aString findTokens: '.'.
^ ip size = 4
and: [ ip allSatisfy: [ :each | each greaseInteger notNil
and: [ each greaseInteger notNil between: 0 and: 255] ] ]
should become:
isIpAddress: aString
| ip |
ip := aString findTokens: '.'.
^ ip size = 4
and: [ ip allSatisfy: [ :each | each greaseInteger notNil
and: [ each greaseInteger between: 0 and: 255] ] ]
Original issue reported on code.google.com by [email protected] on 24 Feb 2011 at 3:57
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 24 Feb 2011 at 3:57The text was updated successfully, but these errors were encountered: