Fix error for query string starting character

git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@108 a716ebb1-153a-0410-b759-cfb97c6a1b53
This commit is contained in:
benjamin.dauvergne 2010-09-28 15:54:29 +00:00
parent 7204edb1ef
commit 07deabfce4
1 changed files with 5 additions and 1 deletions

View File

@ -1647,11 +1647,15 @@ static int am_handle_reply_common(request_rec *r, LassoLogin *login,
const char *idp;
url = am_reconstruct_url(r);
chr = strchr(url, '&');
chr = strchr(url, '?');
if (! chr) {
chr = strchr(url, ';');
}
if (chr) {
*chr = '\0';
}
dir_cfg = am_get_dir_cfg(r);
if(LASSO_PROFILE(login)->nameIdentifier == NULL) {