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

Scanner improvements #334

Merged
merged 3 commits into from
May 22, 2024
Merged

Scanner improvements #334

merged 3 commits into from
May 22, 2024

Conversation

icewind1991
Copy link
Member

  • Send path being scanned to ICAP server
  • extend the self test to test for "new file" behavior

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
"PUT / HTTP/1.0",
"Host: 127.0.0.1"
"PUT $path HTTP/1.0",
"Host: nextcloud"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The host is not the same anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since whole request is fake anyway, I figured that it would be useful not mark the ICAP request as coming from Nextcloud for people who are looking at scanner reports

@icewind1991 icewind1991 requested a review from artonge May 22, 2024 15:17
@icewind1991 icewind1991 merged commit 9e7ce34 into master May 22, 2024
50 checks passed
@icewind1991 icewind1991 deleted the icap-improvements branch May 22, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants