matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Missing URL format validation in plugin HTTP

Open andrinoff opened this issue 7 months ago • 1 comments

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

andrinoff avatar Apr 21 '26 14:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 22 '26 06:05 floatpanebot