X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fcontrol.h;h=3ceea9f9b12d3d6da40dee465776dd6b43c8987a;hb=5b98dd1c37a6151e734e8fa3a7054248ae3455c6;hp=7b3511a62b5debf147a5f54558a0f6dc3afec216;hpb=a847920235fe2c5a87da3fd3b934d3a48b67cbcc;p=matches%2FMCTX3420.git diff --git a/server/control.h b/server/control.h index 7b3511a..3ceea9f 100644 --- a/server/control.h +++ b/server/control.h @@ -14,9 +14,9 @@ typedef enum ControlModes { } ControlModes; /** Invalid filename characters **/ -#define INVALID_CHARACTERS "\"*/:<>?\\|" +#define INVALID_CHARACTERS "\"*/:<>?\\|. " /** The same as INVALID_CHARACTERS, except escaped for use in JSON strings **/ -#define INVALID_CHARACTERS_JSON "\\\"*/:<>?\\\\|" +#define INVALID_CHARACTERS_JSON "\\\"*/:<>?\\\\|. " extern void Control_Handler(FCGIContext *context, char *params); extern const char* Control_SetMode(ControlModes desired_mode, void * arg);