[cpp-xmltooling] branch main updated: CPPXT-160 -Add pipe character to list of unsafe template chars

Scott Cantor cantor.2 at osu.edu
Mon Jun 10 15:19:43 UTC 2024


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 8956655  CPPXT-160 -Add pipe character to list of unsafe template chars
8956655 is described below

commit 89566559844ed471a57e6ace1c978ec7514a14f9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 10 11:19:20 2024 -0400

    CPPXT-160 -Add pipe character to list of unsafe template chars
    
    https://shibboleth.atlassian.net/browse/CPPXT-160
---
 xmltooling/util/TemplateEngine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmltooling/util/TemplateEngine.cpp b/xmltooling/util/TemplateEngine.cpp
index ca9ca71..8840382 100644
--- a/xmltooling/util/TemplateEngine.cpp
+++ b/xmltooling/util/TemplateEngine.cpp
@@ -78,7 +78,7 @@ void TemplateEngine::setTagPrefix(const char* tagPrefix)
     forendtag = string("</") + tagPrefix + "for>";
 }
 
-string TemplateEngine::unsafe_chars = "#%&():[]\\`{}";
+string TemplateEngine::unsafe_chars = "#%&():[]\\`{}|";
 
 void TemplateEngine::html_encode(ostream& os, const char* start) const
 {

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


More information about the commits mailing list