yaoyi2008 / owasp-esapi-php

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

Base64Codec doesn't correctly implement the Codec interface #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $esapi = new ESAPI( "ESAPI/ESAPI.xml" );
2. $encoder = $esapi->getEncoder();

What is the expected output? What do you see instead?
The execution report the following error: 
Strict Standards: Declaration of Base64Codec::encodeCharacter() should be 
compatible with Codec::encodeCharacter($immune, $c) in 
C:\...\codecs\Base64Codec.php on line 130

What version of the product are you using? On what operating system?
ESAPI r834 on Windows 7.

Please provide any additional information below.
PHP version: PHP Version 5.4.0beta2-dev

Original issue reported on code.google.com by apar...@gmail.com on 16 Oct 2011 at 10:12