servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-18

Clarify behaviour of getRequestURI(), getContextPath(), getServletPath() and getPathInfo()

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The specification is unclear for some or all of the above methods how the following should be handled.

      • path parameters - should they be included in the returned values or not?
      • normalisation - should the returned values be pre- or -post any normalisation?
      • url decoding - should the returned values be decoded or include the escapes?
      • character encoding - if a value is decoded, what character encoding should be used?
      • welcome files - if a request maps to a welcome file, should it be included in the return values?

        Activity

        markt_asf created issue -
        markt_asf made changes -
        Field Original Value New Value
        Summary Clarify behaviour of getContextPath(), getServletPath() and getPathInfo() Clarify behaviour of getRequestURI(), getContextPath(), getServletPath() and getPathInfo()
        Rajiv Mordani made changes -
        Assignee Rajiv Mordani [ mode ]
        Ed Burns made changes -
        Assignee Rajiv Mordani [ mode ]

          People

          • Assignee:
            Unassigned
            Reporter:
            markt_asf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: