[shibboleth-sp2] 08/19: SSPCPP-720 - default value of <Errors> metadata attribute not used

Ferenc Wágner wferi at moszumanska.debian.org
Wed Nov 15 22:56:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

wferi pushed a commit to branch maint-2.6
in repository shibboleth-sp2.

commit ff1f30f74ffd3af015626bd49fca7949720e7c30
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Sun Nov 12 20:58:19 2017 -0500

    SSPCPP-720 - default value of <Errors> metadata attribute not used
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-720
---
 shibsp/ServiceProvider.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/ServiceProvider.cpp b/shibsp/ServiceProvider.cpp
index 310ae94..85b96d0 100644
--- a/shibsp/ServiceProvider.cpp
+++ b/shibsp/ServiceProvider.cpp
@@ -117,7 +117,7 @@ namespace shibsp {
         string fname;
         if (!pathname.first) {
             if (!accesserror) {
-                fname = string(page) + "Error.html";
+                fname = string(mderror ? "metadata" : page) + "Error.html";
                 pathname.second = fname.c_str();
             }
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list