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

dashes in username causes problems with search #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lukeKuzmish
Copy link

fixed problem where users with dashes to start their names would interfere with proper search causing inflated numbers

example: /u/-Magitek-Armor- had this problem.

I added single quotes around the user's name when performing the reddit search and it gives the proper number now. I did not test the bot but did test the web app version. Example here: http://192.227.233.138/cReddit-Bot/credditrating.php?username=-Magitek-Armor-

Sorry about all the extra insertions and deletes, I believe that was Sublime Text 2 changing tabs to soft tabs.

TODO: when you click the link, the search is still sometimes empty though it gives the correct count...

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.

1 participant