alcjzk / Webserv

0 stars 0 forks source link

Tini: Allow for escaping strings in map keys #26

Closed lsileoni closed 6 months ago

lsileoni commented 6 months ago

A present issue within Tini is , that it provides no means to escape a character within a string. This causes issues when for example you want to represent a server_name, which is a domain name within the configuration.

For example servers.alpha.www.example.com would be processed as five separate maps. The fix would be to use the ubiquitous \ as an escape character and be able to configure values like so servers.alpha.www\.example\.com and so on.