Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-633

Rule pct-encoded-unescaped unintentionally omits hex pairs starting with 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_OS
    • Fix Version/s: V4.0_ERRATA01
    • Component/s: ABNF
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Change from

      pct-encoded-unescaped = "%" ( "0" / "1" / "3" / "4" / "6" / "8" / "9" / A-to-F ) HEXDIG
      / "%" "2" ( "0" / "1" / "3" / "4" / "5" / "6" / "7" / "8" / "9" / A-to-F )
      / "%" "5" ( DIGIT / "A" / "B" / "D" / "E" / "F" )

      to

      pct-encoded-unescaped = "%" ( "0" / "1" / "3" / "4" / "6" / "7" / "8" / "9" / A-to-F ) HEXDIG
      / "%" "2" ( "0" / "1" / "3" / "4" / "5" / "6" / "7" / "8" / "9" / A-to-F )
      / "%" "5" ( DIGIT / "A" / "B" / "D" / "E" / "F" )

      Consider changing rule name to pct-encoded-no-DQUOTE-REVERSESOLIDUS

      Accepted: https://www.oasis-open.org/committees/download.php/52767/odata-meeting-70_on-20140403-minutes.html#odata-633

      Show
      Change from pct-encoded-unescaped = "%" ( "0" / "1" / "3" / "4" / "6" / "8" / "9" / A-to-F ) HEXDIG / "%" "2" ( "0" / "1" / "3" / "4" / "5" / "6" / "7" / "8" / "9" / A-to-F ) / "%" "5" ( DIGIT / "A" / "B" / "D" / "E" / "F" ) to pct-encoded-unescaped = "%" ( "0" / "1" / "3" / "4" / "6" / "7" / "8" / "9" / A-to-F ) HEXDIG / "%" "2" ( "0" / "1" / "3" / "4" / "5" / "6" / "7" / "8" / "9" / A-to-F ) / "%" "5" ( DIGIT / "A" / "B" / "D" / "E" / "F" ) Consider changing rule name to pct-encoded-no-DQUOTE-REVERSESOLIDUS Accepted: https://www.oasis-open.org/committees/download.php/52767/odata-meeting-70_on-20140403-minutes.html#odata-633

      Description

      Rule pct-encoded-unescaped is incomplete, the range of hex pairs starting with 7 is missing.

      This is a typo.

      The only forbidden two hex pairs are the percent-encoded double quote %22 and the percent-encoded reverse solidus (backslash) %5C.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: