#1 2023-10-02 13:45:19

sgavrilov
Member
Registered: 2019-05-24
Posts: 20

Proposal regarding IsValidUriRoute (mormot.net.server)

Hello,

FHIR (a standard for health care data exchange) has a concept of an operation (http://hl7.org/fhir/operations.html). Name of an operation starts from '$' but IsValidUriRoute complains about this character.

So, I propose to add the '$' to the list of allowed characters in the IsValidUriRoute:

    else if not (p^ in ['/', '_', '-', '.', '$', '0'..'9', 'a'..'z', 'A'..'Z']) then
      exit; // not a valid plain URI character

Sergey

Offline

#2 2023-10-02 13:52:47

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Proposal regarding IsValidUriRoute (mormot.net.server)

Offline

#3 2023-10-03 18:35:56

sgavrilov
Member
Registered: 2019-05-24
Posts: 20

Re: Proposal regarding IsValidUriRoute (mormot.net.server)

Thank you!

Offline

Board footer

Powered by FluxBB