
+1 vote
in Q2A Core by
Has anyone ever experienced this?
. (point) in the username or password??
Hi Gurjyot Singh. In username.
you can try here.
I can access it on my dev site . Something else could be wrong

1 Answer

+2 votes
selected by
Best answer

This is expected behaviour . 

Because the . and .. are treated as special parameters . i.e . -> points to current directory and .. points to previous directory . 

So when you say http://www.question2answer.org/qa/user/. it is exactly same as saying http://www.question2answer.org/qa/user/ . 

And also when you say like http://www.question2answer.org/qa/user/.. same as http://www.question2answer.org/qa/

So this is causing the behavior . I am not sure what is the use case of this as no body wants dot or double dots to be their username . 

If you want to block the user names you can use this plugin - https://github.com/amiyasahu/q2a-registration-blocker

If you want to read more about the URLs - http://stackoverflow.com/questions/9367686/dots-in-url-or-path 

Thanks, Ami :)