[cpp-sp] branch master updated: SSPCPP-720 - default value of <Errors> metadata attribute not used

Rod Widdowson rdw at steadingsoftware.com
Mon Jan 29 12:41:23 EST 2018


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

rdw pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=32d4466b1d5924ce9d3966282a1baae61063da71

The following commit(s) were added to refs/heads/master by this push:
       new  32d4466   SSPCPP-720 - default value of <Errors> metadata attribute not used
32d4466 is described below

commit 32d4466b1d5924ce9d3966282a1baae61063da71
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: 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();
             }
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list