diff options
Diffstat (limited to 'source3/registry/reg_api.c')
-rw-r--r-- | source3/registry/reg_api.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c index e380a0d6e23..79b9a1eb2bc 100644 --- a/source3/registry/reg_api.c +++ b/source3/registry/reg_api.c @@ -475,16 +475,6 @@ WERROR reg_createkey(TALLOC_CTX *ctx, struct registry_key *parent, char *path, *end; WERROR err; - /* - * We must refuse to handle subkey-paths containing - * a '/' character because at a lower level, after - * normalization, '/' is treated as a key separator - * just like '\\'. - */ - if (strchr(subkeypath, '/') != NULL) { - return WERR_INVALID_PARAM; - } - if (!(mem_ctx = talloc_new(ctx))) return WERR_NOMEM; if (!(path = talloc_strdup(mem_ctx, subkeypath))) { |