Escape principal name to remove the path separator
authorSimo Sorce <simo@redhat.com>
Thu, 26 Mar 2015 20:30:56 +0000 (16:30 -0400)
committerSimo Sorce <simo@redhat.com>
Thu, 26 Mar 2015 20:43:11 +0000 (16:43 -0400)
commit286e3dac69c3d4b32db93de1f9937f434383588f
treeb7fbd79e0efa4db5a555e9f378e125e666308884
parent457872c51f208c450ca27a0093529f012a631970
Escape principal name to remove the path separator

The principla name is used as a file name, any embedded path separators
are going to cause trouble if used in the file name, so we need to escape
them away. Usee ~ as the escape chracter (~~ to escape ~ itself)

Fixes #14
src/mod_auth_gssapi.c