Hi,

I'm using Owncloud 8.0.2 on a ASUSTOR NAS, and each time i want to add
an email address on Personnal space, i've an error like "invalid email
address". I have watch the log and they said :

{"reqId":"761d27d246fe0d33f3be7e8ad6dd4b6e","remoteAddr":"123.45.67.89","app":"PHP","message":"preg_match():
Compilation failed: internal error: previously-checked referenced
subpattern not found at offset 728 at
\/volume1\/Web\/owncloud\/3rdparty\/phpmailer\/phpmailer\/class.phpmailer.php#893","level":3,"time":"2015-06-18T14:26:25+00:00"}

This is what i see in this file at line between 882 and 893 :

return (bool)preg_match(
   '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[
-~]|[^"])"?(?1)){65,}@)' .
   '((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t
]+)?)(\((?>(?2)' .

'(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)'
.

'([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*'
.

'(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)'
.

'(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}'
.

'|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:'
.

'|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}'
.
   '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD',
   $address
);

Well, i'm happy now :)
Where do you think i can search now ?

Best regards,
-- 
Marc-Henri Pamiseux - SARL Libricks - www.libricks.fr
6 rue Léonard de Vinci - CS 20119, 53001 LAVAL Cedex
Tel. : 02.30.96.15.24 / Mobile : 06.26.71.30.97

"Le fait de dire qu’on se fout de la vie privée parce qu’on a rien à
cacher revient à dire qu’on se fout de la liberté d’expression parce
qu’on a rien à dire."
Edward Snowden

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to