@maschinenlesbar.org/pegel-online-cli
    Preparing search index...

    Function idProblem

    • Why value cannot be put into a request path as a timeseries id (or, through stationIdProblem, a station id), or undefined when it can: the tokenProblem rules, and then on the trimmed value no "/" (sent as %2F, which a server or proxy that decodes it reads as more path segments: BONN/../KOELN would re-target the request), and not "." or ".." (encodeURIComponent leaves them unchanged and URL parsing resolves them).

      Parameters

      • value: string

      Returns string | undefined