http: expand http.cookieFile as a path
[gitweb.git] / transport-helper.c
index 99f1ace1f2b56c359eba6736d1f0ab0fb49ba980..63d54271b09d34dc21076205e6cecf88a56ab422 100644 (file)
@@ -1043,6 +1043,8 @@ int transport_helper_init(struct transport *transport, const char *name)
        struct helper_data *data = xcalloc(1, sizeof(*data));
        data->name = name;
 
+       transport_check_allowed(name);
+
        if (getenv("GIT_TRANSPORT_HELPER_DEBUG"))
                debug = 1;