Skip to content

User URL to uname auto-conversion does not watch out for parameters specific to new tabbed layout #913

@RamRS

Description

@RamRS

biostars automagically renders /u/XYZ/ URLs as [username](/u/XYZ/) hyperlinks. This worked fine in all cases in the old site but in the new one, we can have parameters following the URL indicating the active tab (/u/XYZ/?active=profile|posts|awards). The parse auto-replaced the /u/XYZ/ part so we get [username](/u/XYZ/)?active=.... Expanding the regex to include the parameters if found will ensure the entire URL is picked up while use cases such as /u/XYZ/'s post will still be rendered as [username](/u/XYZ)'s post

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions