diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/modexp.php | 2 | ||||
-rw-r--r-- | mod/register.php | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mod/modexp.php b/mod/modexp.php index 715ffe30c..bba2c2882 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -1,6 +1,6 @@ <?php -include('library/asn1.php'); +require_once('library/asn1.php'); function modexp_init(&$a) { diff --git a/mod/register.php b/mod/register.php index 2d9168982..5c41fbfad 100644 --- a/mod/register.php +++ b/mod/register.php @@ -63,6 +63,10 @@ function register_post(&$a) { return; } + if(! validate_url($tmp_str)) + $openid_url = ''; + + $err = ''; |