Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSlashParam ¶
DecodeSlashParam restores the placeholder back to / in a path parameter value. Use this instead of c.Param() for any route parameter that may contain a slash (e.g. settings name = "org/team-slug").
func RewriteEncodedSlashes ¶
RewriteEncodedSlashes replaces %2F occurrences in rawPath with a placeholder and returns the rewritten path. The second return value is true when a substitution was made. If rawPath contains no encoded slashes the first return value equals rawPath and ok is false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.