-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check for regex when isPattern is true #2295
Conversation
LGTM, but with a comment - some day we need to forward the composed regex instead of creating it anew. |
} | ||
' | ||
|
||
orionCurl --url /ngsi10/subscribeContext --payload "$payload" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ngsi10 -> /v1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed 1a2f351
@@ -81,7 +81,7 @@ EntityInfo::EntityInfo(const std::string& _entityId, const std::string& _entityT | |||
{ | |||
// FIXME P5: recomp error should be captured? have a look to other usages of regcomp() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested CNR entry:
"Fix: wrong regex patterns detection (#968)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong => invalid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed 5b15ae0
LGTM |
…terisk_subs Conflicts: CHANGES_NEXT_RELEASE
LGTM (again) |
Fixes #968
@fgalan
@kzangeli
Also
change all regex to use extended regular expressions
add idPattern check in parseEntityObject