Skip to content

URNs are caught by HGVS RegEx in MaveMD Search Re-Route #637

@bencap

Description

@bencap

URNs match the pattern used to infer whether a search query is an HGVS string and should therefore be re-routed to the MaveMD search page. We should harden the RegEx pattern so that the pattern urn:mavedb may never be re-routed to the MaveMD search.

To reproduce:

  • Navigate to the homepage
  • Paste a URN into the global search box
  • Observe you are re-routed to the MaveMD search page

Metadata

Metadata

Assignees

No one assigned

    Labels

    app: frontendTask implementation touches the frontendtype: bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions