Revision: 1860
Author: olavmrk
Date: Fri Oct 16 04:04:33 2009
Log: SimpleSAML_Auth_Simple: Add assert() check to getLoginURL().
http://code.google.com/p/simplesamlphp/source/detail?r=1860
Modified:
/trunk/lib/SimpleSAML/Auth/Simple.php
=======================================
--- /trunk/lib/SimpleSAML/Auth/Simple.php Wed Oct 14 00:44:24 2009
+++ /trunk/lib/SimpleSAML/Auth/Simple.php Fri Oct 16 04:04:33 2009
@@ -148,6 +148,7 @@
* An URL which is suitable for use in link-elements.
*/
public function getLoginURL($returnTo = NULL) {
+ assert('is_null($returnTo) || is_string($returnTo)');
if ($returnTo === NULL) {
$returnTo = SimpleSAML_Utilities::selfURL();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---