Conversation
Signed-off-by: munishchouhan <hrma017@gmail.com>
This reverts commit 18a6b86.
Signed-off-by: munishchouhan <hrma017@gmail.com>
pditommaso
left a comment
There was a problem hiding this comment.
Can be added more explicit examples, both the PR description and test, the message before and after the sanitisation ?
Signed-off-by: munishchouhan <hrma017@gmail.com>
done |
Signed-off-by: munishchouhan <hrma017@gmail.com>
Signed-off-by: munishchouhan <hrma017@gmail.com>
|
@pditommaso @ramonamela Now this PR has minimal changes, please review Before change: After the change: |
Signed-off-by: munishchouhan <hrma017@gmail.com>
|
So this change into Making the error message completely obscure ? |
Signed-off-by: munishchouhan <hrma017@gmail.com>
Now I have added sanitization with common patterns and added tests too Here is the example: before: after |
|
I understand the intent however I think we should try to mitigate well know vulnerabilities e.g. stripping |
Signed-off-by: munishchouhan <hrma017@gmail.com>
Signed-off-by: munishchouhan <hrma017@gmail.com>
Signed-off-by: munishchouhan <hrma017@gmail.com>
|
@pditommaso I have made the changes. Here are examples |
|
is it really need to hide class names? |
I think since Wave is open source, we can show it as it is not sensitive, I will make the changes |
Signed-off-by: munishchouhan <hrma017@gmail.com>
Signed-off-by: munishchouhan <hrma017@gmail.com>
|
done |
pditommaso
left a comment
There was a problem hiding this comment.
You may want to consider this, otherwise ok
QUOTED_INPUT pattern may over-match - from String ".?":?\s could strip content from non-Jackson errors that happen to contain from String ". Low risk but worth noting.
Signed-off-by: munishchouhan <hrma017@gmail.com>
Signed-off-by: munishchouhan <hrma017@gmail.com>
Summary
quoted user input reflection
Test plan