Fixed bug #17677: use a thread_local to avoid returning a dangling pointer
- Fixes clang -Wreturn-stack-address warning.
- Added std::string versions of the methods
A Gitlab security update will be applied on March 29th, between 8am and 10am, EST (UTC-05:00). This site may have intermittent delays during that time.