Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uppercase letters can be used to filter the model #701

Open
miss-uny opened this issue Oct 8, 2024 · 4 comments
Open

Uppercase letters can be used to filter the model #701

miss-uny opened this issue Oct 8, 2024 · 4 comments

Comments

@miss-uny
Copy link

miss-uny commented Oct 8, 2024

Currently, tag names only support lowercase letters. If the first letter is capitalized, the tag can be created successfully, but the tag cannot be used to filter the model.
It is expected that tag names can support uppercase letters, and uppercase letters can be used to filter the model after creation.

@Rader
Copy link
Collaborator

Rader commented Oct 9, 2024

@miss-uny could you give an example? Is the tag name in lowercase, when passed in http query?

@miss-uny
Copy link
Author

miss-uny commented Oct 10, 2024

@Rader Rader added the bug Something isn't working label Oct 11, 2024
@Rader
Copy link
Collaborator

Rader commented Oct 15, 2024

  1. tag name is lowercase, test。

http://10.9.92.247:38080/api/v1/models?page=1&per=16&search=&sort=trending&task_tag=s60&framework_tag=&language_tag=&license_tag=&source=

http query will pass。 2. tag name is uppercase,Test http://10.9.92.247:38080/api/v1/models?page=1&per=16&search=&sort=trending&task_tag=Test&framework_tag=&language_tag=&license_tag=&source= http query will fail。

@miss-uny Have you checked case of the tag name related to "task_tag=Test", is it in lowercase or uppercase in table tags

@Rader Rader removed the bug Something isn't working label Oct 15, 2024
@miss-uny
Copy link
Author

  1. tag name is lowercase, test。

http://10.9.92.247:38080/api/v1/models?page=1&per=16&search=&sort=trending&task_tag=s60&framework_tag=&language_tag=&license_tag=&source=
http query will pass。 2. tag name is uppercase,Test http://10.9.92.247:38080/api/v1/models?page=1&per=16&search=&sort=trending&task_tag=Test&framework_tag=&language_tag=&license_tag=&source= http query will fail。

@miss-uny Have you checked case of the tag name related to "task_tag=Test", is it in lowercase or uppercase in table tags

task_tag is Test。 It's in tags list. I could not get database because I don't have permission。Test is in admin portal , I’m sure.

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

No branches or pull requests

2 participants