jacky75 Posted February 21, 2012 Share Posted February 21, 2012 Hi, today I've received the following email by Prestashop. "Dear, Thank you for reporting us this problem in this link : http://forge.prestashop.com/browse/PSCFI-4014. After an analysis of this problem, it turns out you are facing a user issue. Our support team which is in charge of this type of issue will contact you as soon as possible. We are however facing an important demand of free support and it can take a little while until we can help you. You can get some support information on the following site : http://support.prestashop.com/en/ To resolve you problem, you have to buy 1 intervention ticket in this link : http://support.prestashop.com/en/tickets-support/9-14.html, either 149 € Taxe excluded. You can also suscribe to a pack in this link : http://support.prestashop.com/en/2-packs-support. Kind Regards" Everybody can check the issue I opened as community member. I think there's a bug. Maybe I'm wrong, but currently on 1_4_7_0 you still can create an account using a not valid email such "[email protected]". It's possible I'm wrong and the issue is not present, or it's also possible I awfully reported that, but Prestashop can't ask me money to solve it because it's not a specific issue, but a platform issue. As many other community members I try to improve the platform. I'll wait an answer from Prestashop, hoping it's been a big misunderstanding. Regards, Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 21, 2012 Share Posted February 21, 2012 Hi jacky, I have contacted the developer who handled your report to get some more information on your specific issue, and will let you know as soon as I have any additional information. -Mike Link to comment Share on other sites More sharing options...
jacky75 Posted February 28, 2012 Author Share Posted February 28, 2012 Hi, any news? Regards, Jacky Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 29, 2012 Share Posted February 29, 2012 Hi Jacky, I apologize for the delay, the developer who was originally assigned to this bug report is on vacation so it took me some time to track him down. With his permission, I am now having your report assigned to a new developer who will look into this further for you, and will continue to keep you posted as I get more information. If you have any additional questions, please don't hesitate to let me know. -Mike Link to comment Share on other sites More sharing options...
razaro Posted February 29, 2012 Share Posted February 29, 2012 Hi Jacky, Try this: in classes/Validate.php change code of isEmail function to look like this public static function isEmail($email) { return !empty($email) AND preg_match('/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/', $email); } Used regular expression from here . And it is definitively a bug. Link to comment Share on other sites More sharing options...
jacky75 Posted March 5, 2012 Author Share Posted March 5, 2012 Hi Razaro, your solution is working very well. Thanks a lot. Also in my opinion it was a bug. My message was about this issue for sure, but also about the received email from Prestashop. For sure it's been a misunderstanding between me and the developer, I hope everything it's clear now and Razaro's solution will be integrated in the SVN. Regards, Jacky Link to comment Share on other sites More sharing options...
Mike Kranzler Posted March 5, 2012 Share Posted March 5, 2012 Thanks razaro, and thank you Jacky for your understanding. While this is not normal, in this situation I certainly agreed with you, which is why I tracked down the developer on his vacation to get some more information before trying to get someone else assigned to your issue. I will be sure to make a note on this ticket so that you do not get into this situation again. Have a great Monday! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts