Ticket #25385

checkMailAddressで、@の左側の/が許可されない

Open Date: 2011-06-05 03:50 Last Update: 2011-10-01 14:26

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

@の左側に/があることはRFC違反ではないので、対応していただきたいです。

実際にvodafone時代にメアドを取得した携帯ユーザで、何人もこういうメアドの人がいます。

改善案

-        if (preg_match('/^([a-z0-9_]|\-|\.|\+)+@(([a-z0-9_]|\-)+\.)+[a-z]{2,6}$/i',
+        if (preg_match('#^([a-z0-9_]|\-|\.|\+|\/)+@(([a-z0-9_]|\-)+\.)+[a-z]{2,6}$#i',

参考:http://www.puni.net/~mimori/rfc/rfc2822.txt

Ticket History (2/2 Histories)

2011-06-05 03:50 Updated by: dqneo
  • New Ticket "checkMailAddressで、@の左側の/が許可されない" created
2011-10-01 14:26 Updated by: dqneo
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2011-10-01 14:26
  • Milestone Update from (None) to 2.6.0

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login