1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 01:11:15 +02:00

Fix s3:// store

Fixes https://github.com/NixOS/nixos-org-configurations/issues/123.
This commit is contained in:
Eelco Dolstra 2020-10-05 17:53:30 +02:00
parent 51c299213b
commit 88a667e49e
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 3 additions and 1 deletions

View file

@ -7,7 +7,7 @@ namespace nix {
// URI stuff.
const static std::string pctEncoded = "(?:%[0-9a-fA-F][0-9a-fA-F])";
const static std::string schemeRegex = "(?:[a-z+.-]+)";
const static std::string schemeRegex = "(?:[a-z][a-z0-9+.-]*)";
const static std::string ipv6AddressRegex = "(?:\\[[0-9a-fA-F:]+\\])";
const static std::string unreservedRegex = "(?:[a-zA-Z0-9-._~])";
const static std::string subdelimsRegex = "(?:[!$&'\"()*+,;=])";