aspen0883 / xmlwise

Automatically exported from code.google.com/p/xmlwise
0 stars 0 forks source link

base64 decoding wrong when base64 string contains non-base64-characters #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Use e.g. a Plist with a base64 string that contains additional linebreaks and 
whitespaces for better readability and compare the decoded result with the 
source file.

What is the expected output? What do you see instead?
I would expect that the source file and the decoded file match even though 
special (NON base64) characters were inserted.

What version of the product are you using? On what operating system?
15

Please provide any additional information below.
Attached patch works, performance could be faaaar better though.

Original issue reported on code.google.com by christia...@gmail.com on 13 Aug 2010 at 1:51

Attachments:

GoogleCodeExporter commented 8 years ago
Former patch doesn't work - this one should be fine.

Original comment by christia...@gmail.com on 13 Aug 2010 at 1:58

Attachments:

GoogleCodeExporter commented 8 years ago
Another try :-)

Original comment by christia...@gmail.com on 13 Aug 2010 at 2:12

Attachments:

GoogleCodeExporter commented 8 years ago
Please import this into the repository, thanks!

Original comment by yaohua2...@gmail.com on 7 Nov 2010 at 10:33

GoogleCodeExporter commented 8 years ago
Unfortunately that patch does not quite handle the problem. I'll upload a fix 
shortly.

Original comment by christof...@gmail.com on 30 Sep 2011 at 10:10

GoogleCodeExporter commented 8 years ago
Fixed in the latest checkin, it'll turn up in the 2.0 release later.

Original comment by christof...@gmail.com on 30 Sep 2011 at 11:08