Red Hat Bugzilla – Bug 1037925
Search Projects field not character limited
Last modified: 2014-03-20 01:47:37 EDT
Created attachment 832415 [details]
Description of problem:
The Search Projects field, on the Projects page, does not appear to have a character limit.
This means a ridiculous number of character can be entered which has a negative performance impact on the browser and server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to $server/zanata/projects
2. Enter a massive amount of text into the project search bar (like Gutenberg's Moby Dick!)
3. Press Search
4. Wait for it...
It displays the entire text, prefixed with "Found 0 Projects matching query"
I doubt anyone would need more than 256 characters in a search.
Project search field now is limit to 100 character, given it searches through slug (40 char max), name (40 char max), and description(100 char max)
Verified at cd51a1620e283882a8eb26cd862314b48af67617
Closing VERIFIED bugs for Zanata server 3.3.2.