[thredds] scan catalogs and % characters in folders

hello!

I set up tomcat and thredds according to the instructions on the unidata
website. The catalog configuration just configures one datasetScan section
that points to a fairly large folder that has many subfolders.

Everything works perfectly as long as the folders do not have any %
characters in them. If they do, though, the url generated for it is not
properly url-encoded and browsing the catalog results in a 404 error. If I
manually fix the encoding in the url, then the contents are shown
correctly.

Example:
the folder is /datasets/d1/d2.nc%3Bchunk%3D0/1.nc

from this folder, the generated url form the catalog is:
http://thredds.test/thredds/catalog/testAll/d1/d2.nc%3Bchunk%3D0/catalog.html

which results in a 404 error, because the % marks are not url encoded. If I
manually apply url encoding, resulting in an url:

http://thredds.test/thredds/catalog/testAll/d1/d2.nc%253Bchunk%253D0/catalog.html

then that works fine.

Is there any configuration setting that can fix this or some other
solution? (besides not having % in folder names, quite hard to fix that at
this point, sadly)

thanks,
Kristo Iila
Planet OS
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: