diff options
author | iwojim0 <iwo_jim0@protonmail.com> | 2024-03-09 14:37:54 +0000 |
---|---|---|
committer | iwojim0 <iwo_jim0@protonmail.com> | 2024-03-09 14:37:54 +0000 |
commit | 7312f4ce51100d4ed98988cb3af0ab06e4fba53c (patch) | |
tree | b9fe2c67d8d98605d5376bbad6ffe87ef29c1990 /http.c | |
parent | 951e6b23151d298d9babeec81bc9926c11bdb3b3 (diff) |
Ability to federate with hidden networks #93 (update for v2.49)
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,8 @@ xs_dict *http_signed_request_raw(const char *keyid, const char *seckey, date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT"); { - xs *s = xs_replace_n(url, "https:/" "/", "", 1); + xs *s1 = xs_replace_n(url, "http:/" "/", "", 1); + xs *s = xs_replace_n(s1, "https:/" "/", "", 1); l1 = xs_split_n(s, "/", 1); } |