Post by tiborbesze86 » Thu Jul 23, 2015 6:06 pm

The email regex in Opencart is the following:

Code: Select all

'/^[^\@]+@.*.[a-z]{2,15}$/i'
I think the 2nd dot is unescaped, unless the purpose of this regex is to make sure, that the last 2-15 characters doesn't contain anything else, but letters of the English alphabet. Can someone confirm this?

I know it's not a major issue at all, it's just something I came across when I was making a vqmod for the returns system.

Newbie

Posts

Joined
Mon Jun 02, 2014 5:26 pm
Who is online

Users browsing this forum: No registered users and 4 guests