[cpp-sp] 01/02: Remove extra slash from pathname.

Scott Cantor cantor.2 at osu.edu
Tue Jun 24 16:39:22 UTC 2025


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

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

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

commit 7dc7a5bb2e15193d16c511a4dff39fbeee694258
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jun 24 11:59:00 2025 -0400

    Remove extra slash from pathname.
---
 shibsp/util/DirectoryWalker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/util/DirectoryWalker.cpp b/shibsp/util/DirectoryWalker.cpp
index 66be775c..e09b64f4 100644
--- a/shibsp/util/DirectoryWalker.cpp
+++ b/shibsp/util/DirectoryWalker.cpp
@@ -115,7 +115,7 @@ void DirectoryWalker::_walk(
             }
         }
 
-        string fullname = string(path) + '/' + entptr->d_name;
+        string fullname = string(path) + entptr->d_name;
         struct stat stat_buf;
         if (stat(fullname.c_str(), &stat_buf) != 0) {
             m_log.warn("unable to access (%s)", fullname.c_str());

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


More information about the commits mailing list