Skip to content
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

Fix: escape char for data type #1599

Merged
merged 1 commit into from Mar 12, 2024
Merged

Fix: escape char for data type #1599

merged 1 commit into from Mar 12, 2024

Conversation

jjnicola
Copy link
Member

What:
Fix: escape char for data type

scannerctl removes now the back slash for the following case.

Jira: SC-1037

Why:
scannerctl must behave like openvas-nasl

How:
Run openvas-nasl -X test.nasl and scannerctl execute test.nasl. Both should give the same output

d = 'aaaaa\"ddddd';
display(d);

Checklist:

  • Tests
  • PR merge commit message adjusted

openvasctl removes now the back slash for the following case.
Run `openvas-nasl -X test.nasl` and `scannerctl execute test.nasl`. Both should give the same output

```
d = 'aaaaa\"ddddd';
display(d);
```
@jjnicola jjnicola requested a review from a team as a code owner March 12, 2024 10:56
@jjnicola jjnicola enabled auto-merge (squash) March 12, 2024 12:21
@jjnicola jjnicola merged commit 29e2939 into main Mar 12, 2024
18 checks passed
@jjnicola jjnicola deleted the fix-escaping branch March 12, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants