Hi,

With Toad's approval, I've checked a patch into svn which permits CHKs
to have a 'file extension'.

For example, FProxy and FCP can now successfully perform a get on:

CHK at 
aHk9P1BLcigiZjSqV2cUQtY5JNNWJbqBPwnZ3dM8Hy4,-4C87kRu4QB7Z5UmZpSpniBlrmwJtDKr35AZ-m-jDEg,AAEC--8.txt

The implementation of this hack is just a 2-liner inside the FreenetURI
constructor 'public FreenetURI(String URI)' which removes any '.ext'
stuff from the end of CHK URIs before processing them further. So the
above URI effectively becomes:

CHK at 
aHk9P1BLcigiZjSqV2cUQtY5JNNWJbqBPwnZ3dM8Hy4,-4C87kRu4QB7Z5UmZpSpniBlrmwJtDKr35AZ-m-jDEg,AAEC--8

My reason for this is for convenience when humans are viewing and
exchanging CHK URIs. Also, there are a number of benefits to this with
PyFreenet and several of my PyFreenet apps.

AFAICT, this patch is 100% backwards compatible, and should not have any
impact whatsoever on freenet core or apps. I'd be enormously grateful if
it can stay in place.

-- 
Kind regards
David



Reply via email to