You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix path prefix stripping for base URL with path prefix (#2996)
When MockVWS or MockVWSForHttpx is configured with a base_vws_url
containing a path prefix (e.g. https://example.com/prefix), strip the
prefix from the request path before passing it to validators and route
handlers. Previously, validators performing path-length checks (e.g.
validate_target_id_exists, validate_keys, validate_name_*) received the
full prefixed path and incorrectly parsed it, causing spurious errors
such as UnknownTarget for endpoints that take no target ID.
Fixes#2995.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments