Permalink
Browse files

fixes #75 by not stripping query string

  • Loading branch information...
1 parent d529469 commit 0b8fdf6d77dc559174ddabcaece69c333297bacc @mikehenrty mikehenrty committed May 16, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 openid.js
View
@@ -1094,12 +1094,6 @@ var _verifyAssertionAgainstProvider = function(provider, params, stateless, exte
if(provider.version.indexOf('2.0') !== -1)
{
var endpoint = params['openid.op_endpoint'];
- if (endpoint) {
- var qsIndex = endpoint.indexOf('?');
- if (qsIndex !== -1) {
- endpoint = endpoint.substring(0, qsIndex);
- }
- }
if (provider.endpoint != endpoint)
{
return callback({ message: 'OpenID provider endpoint in assertion response does not match discovered OpenID provider endpoint' });

0 comments on commit 0b8fdf6

Please sign in to comment.