Skip to content

[Malware Scanner] Custom Path scan fails with 405 "The method is not allowed for the requested URL" #144

Description

@qux-bbb

Describe the bug

On the Malware Scanner page (http://localhost/security/scanner), entering a target directory (e.g. /var/www) in the Custom Path card and clicking Scan causes a red error banner to appear at the top of the page:

The method is not allowed for the requested URL.

Image

Steps to reproduce

  1. Install extension Malware Scanner
  2. Open the security panel and navigate to the Malware Scanner page (http://localhost/security/scanner)
  3. In the Custom Path card, enter a target directory, e.g. /var/www
  4. Click the Scan button
  5. Observe the banner at the top of the page

Expected behavior

The backend accepts the request, starts a custom-path scan for /var/www, and a corresponding task appears in the All scans list.

Environment

Ubuntu 24.04.2 LTS, Firefox 140.0.4 (64-bit), ServerKit v1.11.4

Logs

Checks

  • I have searched the existing issues.
  • I am using the latest version of ServerKit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions