dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
276 stars 132 forks source link

chimera: fix uri_encode to handle special characters #7594

Closed DmitryLitvintsev closed 3 weeks ago

DmitryLitvintsev commented 3 weeks ago

Motivation:

A user tried to upload files from windows machine. The file paths contained "\" characters cauing Enstore hsm script to fail.

Modification:

Adapt existing uri_encode function to handle special characters.

Result:

Enstore HSM script does not fail, files go to tape successfully.

Target: trunk Request: 10.0 Request: 9.2

Patch: https://rb.dcache.org/r/14260/