Changeset 33058 for main

Show
Ignore:
Timestamp:
07.05.2019 13:31:50 (5 months ago)
Author:
kjdon
Message:

assocfilepath might have multiple directories, so make sure we get them all

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/URLFilter.java

    r32988 r33058  
    108108                if (dirStart < url.length() && url.indexOf("/", dirStart) != -1) 
    109109                { 
    110                     dirEnd = url.indexOf("/", dirStart); 
     110                    //dirEnd = url.indexOf("/", dirStart); 
     111                    // assocfilepath might have more than one folder in it 
     112                    dirEnd = url.lastIndexOf("/"); 
    111113                } 
    112114                if (dirEnd != -1)