puppetlabs/puppetdb — pull request #925 by kbarber (2014-04-17 19:52:46+00:00)
Title: (PDB-567) Use hash not config_version for report export files

Some users have complained of the inability for the compression library to
translate the configuration version when it contains a forward slash.

It comes down to the configuration version proving not to be a great
token for uniqueness as the format can be very variable and possibly
not link safe.

This patch changes the configuration version to instead use the hash, and
for good measure ensures the hash can be randomized using the hard-core
anonymization modes for the paranoid.

The ticket PDB-567 also suggested an alternative was to upgrade the
compression library to achieve the ability to parse / safely. Since this
is a good idea anyway, I've also upgrade that.

Signed-off-by: Ken Barber