All Apache::Session::Browseable modules return an empty array ref when searchOn cannot find any sessions. Except this one which returns "undef"
This is causing issues when using LemonLDAP::NG in a REST session configuration because the Apache::Session::REST will crash on invalid JSON if an empty string is returned by Lemonldap::NG::Portal::Plugins::RESTServer.
This commit will make RESTServer return '{}' instead, which is correct JSON and will not crash Apache::Session::REST
All Apache::Session::Browseable modules return an empty array ref when searchOn cannot find any sessions. Except this one which returns "undef"
This is causing issues when using LemonLDAP::NG in a REST session configuration because the Apache::Session::REST will crash on invalid JSON if an empty string is returned by Lemonldap::NG::Portal::Plugins::RESTServer.
This commit will make RESTServer return '{}' instead, which is correct JSON and will not crash Apache::Session::REST