Ticket #853 (new defect)

Opened 4 years ago

Last modified 4 years ago

URL-encoding forward-slash despite collection groups using this

Reported by: ak19 Owned by: nobody
Priority: moderate Milestone: 2.87 Release
Component: Greenstone2 Runtime Severity: major
Keywords: Cc:

Description

cgiutils.cpp url-encodes several special chars, but its url-encoding of the forward slash has been temporarily disabled because of the forward slash being used in the qualified-collection names of collection groups, which broken when the forward slash was url-encoded.

We'd like cgiutils.cpp to still encode it, but for collection groups to still work. The idea is that it should be decoded back to a forward slash at the earliest possible time for the collection subgroups to work. Maybe other chars encoded by cgiutils can be decoded at this point also, in order for things to be back to 'normal'.

Change History

Changed 4 years ago by ak19

  • milestone set to 2.86 Release

Changed 4 years ago by ak19

Maybe setting GSDL_COLLECT_DIR is a different way of allowing the forward slash to be encoded, while having access to the unencoded collection name.

Note: See TracTickets for help on using tickets.