Skip to content

Commit

Permalink
Three major issues fixed...
Browse files Browse the repository at this point in the history
1. HTTP protocol uses Base64 to encode the MD5 sum, not hex - fixed.
2. There is a bug in URLConnection.getLastModified() in that it appears not to use the TimeZone of the input date to process the time. Work around that.
3 Windows does not like ':' as part of a filename, change the cache path to use '~' instead of ':'

This commit adds the BSD-licensed Base64.java code by Mikael Grev, MiG InfoCom AB.
  • Loading branch information
rolfl committed Mar 18, 2012
1 parent e9385dc commit 575fb02
Show file tree
Hide file tree
Showing 3 changed files with 612 additions and 19 deletions.
9 changes: 9 additions & 0 deletions src/main/net/tuis/resolver/Base64.Changes.txt
@@ -0,0 +1,9 @@
Changelog 2.1 > 2.2

* Added a "fast" decode method that is a little more than two times faster
than the normal one but has some moderate restriction on input.

* Normal decode now handles negative bytes and just disregard them as
specified in RFC 2045.

* Some minor enhancements

0 comments on commit 575fb02

Please sign in to comment.