Skip to content

bench use accepts invalid site names with trailing slash #1726

Description

@rehanrehman389

bench use currently accepts a site name with a trailing / (e.g. bench use mysite/) even though no such site exists. The command sets the current site successfully, but subsequent requests fail with a runtime error because Frappe cannot resolve the site.

Bench Console:
Image

Local Site:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions