Skip to content

BUG: Missing URL format validation in plugin HTTP #753

@andrinoff

Description

@andrinoff

Describe the bug
Plugin HTTP at plugin/http.go:40-45 only validates URL scheme but not format. Malformed URLs could cause crashes.

To reproduce

  1. Plugin calls matcha HTTP with malformed URL
  2. Invalid URL passes scheme check
  3. Later operations may panic

Expected behavior
Use url.Parse() for full validation before scheme check

Matcha version
master

OS
All

Additional context
File: plugin/http.go lines 40-45
Only checks scheme, missing format validation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersneeds-responseWaiting on issue author replystaleNo activity for extended period

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions