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

Scott Cantor cantor.2 at osu.edu
Sun Nov 12 21:00:00 EST 2017


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

scantor pushed a commit to branch maint-2
in repository cpp-sp.

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

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

commit 458ca9c9c1f3b8b12b836d477e0a6dc0b770ff5a
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