@maschinenlesbar.org/fim-portal-cli
    Preparing search index...

    Function pathSegment

    • Validate one path id (pathSegmentProblem) and percent-encode it, trimmed and in NFC (normalizeToken), for the request path: a value pasted with a trailing newline or space named no object. Throws FimValidationError (Invalid <name>: ...) for a blank id and one with a /. "." and ".." pass through encoding unchanged and are rejected by RequestEngine.buildUrl.

      Parameters

      • name: string
      • value: string

      Returns string