diff options
| author | 2024-04-18 15:12:47 +0000 | |
|---|---|---|
| committer | 2024-04-18 15:12:47 +0000 | |
| commit | 100c9cf569ef4497160ac60a55f5b94b9cb524bc (patch) | |
| tree | 30791ca1d83e2b94787e42432898ac7b2c7f7943 /http.c | |
| parent | Improved non-public reply check. (diff) | |
| parent | Ability to federate with hidden networks #93 (update for v2.49) (diff) | |
| download | snac2-100c9cf569ef4497160ac60a55f5b94b9cb524bc.tar.gz snac2-100c9cf569ef4497160ac60a55f5b94b9cb524bc.tar.xz snac2-100c9cf569ef4497160ac60a55f5b94b9cb524bc.zip | |
Merge pull request 'Ability to federate with hidden networks #93 (update for v2.49)' (#149) from iwojima/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/149
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, | |||
| 32 | date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT"); | 32 | date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT"); |
| 33 | 33 | ||
| 34 | { | 34 | { |
| 35 | xs *s = xs_replace_n(url, "https:/" "/", "", 1); | 35 | xs *s1 = xs_replace_n(url, "http:/" "/", "", 1); |
| 36 | xs *s = xs_replace_n(s1, "https:/" "/", "", 1); | ||
| 36 | l1 = xs_split_n(s, "/", 1); | 37 | l1 = xs_split_n(s, "/", 1); |
| 37 | } | 38 | } |
| 38 | 39 | ||