From f0b539815b0a54fdca00dda6d7a70f135869d8d8 Mon Sep 17 00:00:00 2001 From: olavmrk Date: Wed, 8 May 2013 12:24:32 +0000 Subject: Handle empty RelayState the same as missing RelayState. git-svn-id: https://modmellon.googlecode.com/svn/trunk@209 a716ebb1-153a-0410-b759-cfb97c6a1b53 --- auth_mellon_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_mellon_handler.c b/auth_mellon_handler.c index 996daea..ffbbc24 100644 --- a/auth_mellon_handler.c +++ b/auth_mellon_handler.c @@ -1920,7 +1920,7 @@ static int am_handle_reply_common(request_rec *r, LassoLogin *login, /* No RelayState - we don't know what to do. Use default login path. */ - if(relay_state == NULL) { + if(relay_state == NULL || strlen(relay_state) == 0) { dir_cfg = am_get_dir_cfg(r); apr_table_setn(r->headers_out, "Location", dir_cfg->login_path); return HTTP_SEE_OTHER; -- cgit