Closed GoogleCodeExporter closed 9 years ago
The mimetype for HTML is typically "text/html", so I assume that you're seeing
a different mimetype. Do you have a link to a live service or feed that's
sending a mimetype that requires this change? Even if not, would you reply back
with the exact mimetype that's triggering this bug? I'd like to try to
accommodate your need while revamping the Base64 code to fix some other issues.
Original comment by kurtmckee
on 5 Jul 2011 at 12:29
Ah, that was a long time ago. I don't remember the feed or the mime type it
used, but I remember that another tool parsed it (it was either the
feedvalidator or SimplePie), so I had to match that or be blamed of being
unable to handle feeds that others can. After digging into it, I added the fix
above.
I do remember, though, that when I looked at _isBase64() I thought it was odd
that it treated everything as base64 unless it matched the specified
conditions, as opposed to the opposite of defaulting to treating it as text
(which is more common) unless it's specifically declare as base 64. Maybe there
is a good reason for that, so I made the minimal change that fixed my problem.
Original comment by wal...@ninua.com
on 5 Jul 2011 at 9:57
Original comment by kurtmckee
on 6 Sep 2011 at 3:19
Original issue reported on code.google.com by
wal...@ninua.com
on 21 Jun 2011 at 1:28Attachments: