tsubasa853 / owasp-esapi-php

Automatically exported from code.google.com/p/owasp-esapi-php
Other
0 stars 0 forks source link

Typo in MySQLCodec::encodeCharacterMySQL() #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In  MySQLCodec::encodeCharacterMySQL()  you're replacing 0x1a with "\z"
although it should be "\Z" as per MySQL docs:

http://mirror.yandex.ru/mirrors/ftp.mysql.com/doc/refman/5.0/en/string-syntax.ht
ml

osapi-ewasp-java uses "\Z" so it's probably just a typo.

Original issue reported on code.google.com by kkotowicz on 14 Jan 2010 at 12:08

GoogleCodeExporter commented 9 years ago
Fixed per recommendation

Original comment by mike.bob...@gmail.com on 14 Jan 2010 at 1:26