URL validation bug in Frappe Framework

If I want to enter:

https://frappe.school/courses#courses-enrolled

as a shortcut link while editing my awesome developer productivity dashboard in frappe framework, an unexpected error is thrown:

Invalid URL https://frappe.school/courses#courses-enrolled is not a valid URL

The URL clearly is valid, as testified by nothing less than Frappe School itself, making an otherwise successful usage of it.
So this clearly is a validation bug in Frappe Framework which doesn’t allow me to specifically link to my enrolled courses.

Installed Apps

Cabs App: v0.0.1 (develop)
Frappe Framework: v15.x.x-develop () (develop)

Hi @Peer,

Please raise your issue in Frappe GitHub.

Thank You!