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

Added a new validator for checking if string is a palindrome #2326

Closed
wants to merge 1 commit into from

Conversation

mutahir-muhammad
Copy link

@mutahir-muhammad mutahir-muhammad commented Oct 16, 2023

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@WikiRik
Copy link
Member

WikiRik commented Oct 16, 2023

What would be use cases for this validator?

@mutahir-muhammad
Copy link
Author

What would be use cases for this validator?
This validator can be used to detect if user inputs for passwords are palindromes or not as they are easy to guess and do not provide security. Security systems could use this as a password complexity rule. Other than this, it could be used to identify recurring strings in data and applications can use palindrome detection to create puzzles or challenges. It could also be used as creative leisure by taking inputs that are palindromes.

@WikiRik
Copy link
Member

WikiRik commented Oct 17, 2023

Validation for puzzles or challenges is not something I think belongs in this project, just like creative leisure. I also haven't heard about a password complexity rule for palindromes so I would not be in favour of adding this validator.

@pano9000
Copy link
Contributor

same topic here:
#1935
it got closed down finally, because there is no real use case for a Palindrome Validation, IMHO

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

Successfully merging this pull request may close these issues.

3 participants