Changeset 33058 for main


Ignore:
Timestamp:
2019-05-07T13:31:50+12:00 (5 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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)
Note: See TracChangeset for help on using the changeset viewer.