diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-08-09 18:46:48 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-08-13 01:06:38 +0200 |
commit | ded10e28782f289ad3db15320bcf619ab4336876 (patch) | |
tree | 32609fd9f1eb0d2f8a23105e09f193827d16a275 /tests/client-manifest.scm | |
parent | 7b62790238902e10edb83c07286cf0643b097997 (diff) |
Switch to a more sensible error reporting system
Diffstat (limited to 'tests/client-manifest.scm')
-rw-r--r-- | tests/client-manifest.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/client-manifest.scm b/tests/client-manifest.scm index 2812ede..8e98091 100644 --- a/tests/client-manifest.scm +++ b/tests/client-manifest.scm @@ -1,4 +1,4 @@ -;; webid-oidc, implementation of the Solid specification +;; disfluid, implementation of the Solid specification ;; Copyright (C) 2020, 2021 Vivien Kraus ;; This program is free software: you can redistribute it and/or modify @@ -66,13 +66,13 @@ (exit 4)) (with-exception-handler (lambda (error) - (unless ((record-predicate &unauthorized-redirection-uri) error) + (unless (unauthorized-redirect-uri? error) (exit 5))) (lambda () (client-manifest-check-redirect-uri mf "https://fraudulent-app.example.com/callback") (exit 55)) #:unwind? #t - #:unwind-for-type &unauthorized-redirection-uri) + #:unwind-for-type &unauthorized-redirect-uri) (receive (response response-body) (serve-client-manifest (time-utc->date (make-time time-utc 0 3600)) |