Skip to content

too many path pieces #23

@losciamano

Description

@losciamano

I have registered a HttpResource on the Path "CSPInternal" and allowed only method POST.
In render_POST I print all path pieces but I get strange results.

curl -X POST -d "foo=bar" https://localhost:9999/CSPInternal/newMethod"

If I use the method getPath() of HttpRequest i get the right value : CSPInternal/newMethod
But if I use getPathPieces() a vector with 4 elements is returned:

  • 0 : CSPInternal
  • 1: newMethod
  • 2: CSPInternal
  • 3: newMethod

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions