Keyword

k2 apostrophe in username Bug

More
10 years 8 months ago - 10 years 8 months ago #124302 by Marco
k2 apostrophe in username Bug was created by Marco
When a user register his profile with ' ( es: marc's)
there in a bug in the user page and user module if reloading the same page ..
The first time the name is currect : marc's , at the second refresh the username change in "marc's"
at the tird : marc's then marc's etc etc ..
how can i solve it ? pls help :)

EDIT
i ve noticed now something skary.. the apostrophe is saved in the k2_users table !!! for real there isnt a controll on that ? no sql injection risk ?
some one know where can i find the registration controll file ? just to try to adjust that...

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #124303 by Yiota
Replied by Yiota on topic Re: k2 apostrophe in username Bug
What Joomla! and K2 version do you use?
Have you modified registration form?

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #124304 by Marco
Replied by Marco on topic Re: k2 apostrophe in username Bug
Joomla v3.2.1 - K2 v2.6.8 (Dev Build)

yes i ve changed a bit the registration file , just modified in a tableless layout and nothing else.
do u want to see the code ?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #124305 by Yiota
Replied by Yiota on topic Re: k2 apostrophe in username Bug
I have tried registering in a J!3.2.1 with K2 2.6.8 and the apostrophe in the user name was considered invalid and the registration wouldn't proceed.

How did you manage to put an apostrophe? Doesn't your form validation cut you off?

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #124306 by Marco
Replied by Marco on topic Re: k2 apostrophe in username Bug
Im so sorry , there was a misunderstanding... the issue in not in the username field , but in the name field ..

The problem is in the output of that...

marc's became marc's, if u refresh the page many times...

Sorry again

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #124307 by Marco
Replied by Marco on topic Re: k2 apostrophe in username Bug
any suggestions?

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #124308 by Lefteris
Replied by Lefteris on topic Re: k2 apostrophe in username Bug
Hi. The issue has been resolved. Please grab the dev version again and let me know if it works for you.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum