[cpp-sp] 08/09: SSPCPP-720 - default value of <Errors> metadata attribute not used

Scott Cantor cantor.2 at osu.edu
Mon Nov 13 11:46:32 EST 2017


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

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

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

commit ff1f30f74ffd3af015626bd49fca7949720e7c30
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