We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ca4201 + 30ea4bf commit 1a9ba60Copy full SHA for 1a9ba60
src/onelogin/saml2/logout_request.py
@@ -278,7 +278,14 @@ def is_valid(self, request_data):
278
destination = dom.get('Destination')
279
if destination != '':
280
if current_url not in destination:
281
- raise Exception('The LogoutRequest was received at $currentURL instead of $destination')
+ raise Exception(
282
+ 'The LogoutRequest was received at '
283
+ '%(currentURL)s instead of %(destination)s' %
284
+ {
285
+ 'currentURL': current_url,
286
+ 'destination': destination,
287
+ }
288
+ )
289
290
# Check issuer
291
issuer = OneLogin_Saml2_Logout_Request.get_issuer(dom)
0 commit comments