Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commands with uppercase names are not supported #166

Open
sbrl opened this issue Jan 4, 2021 · 1 comment
Open

Commands with uppercase names are not supported #166

sbrl opened this issue Jan 4, 2021 · 1 comment

Comments

@sbrl
Copy link
Contributor

sbrl commented Jan 4, 2021

Currently, tldr.ostera.io doesn't support command names that contain uppercase letters. For example eyeD3 and R.

A discussion was had on Gitter, and we suspect the following lines of code are at fault:

@MasterOdin
Copy link

MasterOdin commented Jan 4, 2021

To add here, the site supports direct linking to the page, but does not support typing in the name if it has capitals. For example, if I go to https://tldr.ostera.io/R it works, if I type in "R" into the search bar, it takes me to https://tldr.ostera.io/r and fails. As @sbrl, this is probably do to the toLowerCase() that happens on updating the browser history as you type.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants