Skip to content

Commit cd4b4b2

Browse files
committed
FOGL-7697: Updated regular expression for RECEIVE_NOTIFICATION
Signed-off-by: nandan <[email protected]>
1 parent ebc37f3 commit cd4b4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C/services/notification/include/notification_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using HttpServer = SimpleWeb::Server<SimpleWeb::HTTP>;
2020
* URL for each API entry point
2121
*/
2222
#define ESCAPE_SPECIAL_CHARS "\\{\\}\\\"\\(\\)\\!\\[\\]\\^\\$\\.\\|\\?\\*\\+\\-"
23-
#define RECEIVE_NOTIFICATION "^/notification/reading/asset/([A-Za-z][a-zA-Z0-9_%\\-\\.]*)$"
23+
#define RECEIVE_NOTIFICATION "^/notification/reading/asset/([A-Za-z0-9][a-zA-Z0-9_%\\-\\.]*)$"
2424
#define RECEIVE_AUDIT_NOTIFICATION "^/notification/reading/audit/([A-Za-z][a-zA-Z0-9_%\\-\\.]*)$"
2525
#define RECEIVE_STATS_NOTIFICATION "^/notification/reading/stat/([A-Za-z][a-zA-Z0-9_%\\-\\.]*)$"
2626
#define RECEIVE_STATS_RATE_NOTIFICATION "^/notification/reading/rate/([A-Za-z][a-zA-Z0-9_%\\-\\.]*)$"

0 commit comments

Comments
 (0)