Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1518

UriDecoder.splitAndDecodePath fails if a function argument value contains a slash '/'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • odata4-server
    • None

    Description

      UriDecoder.splitAndDecodePath simply splits the rawODataPath on '/'. However a function or functionImport parameter value can legitimately contain a '/'. When this occurs the request is rejected. An example URL is:

      localhost:8070/odata2sparql/calc2graph/rdfs_Resource('calc2graphData~BatteryLimit2')/pathql.factQuery(pathql='/:density')?$select=*&$format=json

      The parameter value '/:density' would be incorrectly rejected.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peterlawrence Peter Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: