Uploaded image for project: 'Marmotta'
  1. Marmotta
  2. MARMOTTA-606

Accept Header parsing in SPARQL Web Service not correct

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.4.0
    • Component/s: Platform
    • Labels:
      None

      Description

      The parsing of the provided accept headers (HttpServletRequest) checks only the first header entry - see HttpServletRequest#getHeader-Method

      Implementation should use the getHeaders in order to check all provided accept header parameters. Proposed solution: provide method in MarmottaHttpUtils to check the Enumeration<String>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wikier Sergio Fernández
                Reporter:
                dglachs Dietmar Glachs
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified