diff options
| author | 2023-05-07 07:27:24 +0000 | |
|---|---|---|
| committer | 2023-05-07 07:27:24 +0000 | |
| commit | e65760a349112abce39404ca50f6bc2f1301bed9 (patch) | |
| tree | c2484af8006961d95dcf39cf16c3749100a713c9 /http.c | |
| parent | Fixed webfinger and curl issues (diff) | |
| parent | Version 2.30 RELEASED. (diff) | |
| download | snac2-e65760a349112abce39404ca50f6bc2f1301bed9.tar.gz snac2-e65760a349112abce39404ca50f6bc2f1301bed9.tar.xz snac2-e65760a349112abce39404ca50f6bc2f1301bed9.zip | |
Merge pull request 'master' (#1) from grunfink/snac2:master into master
Reviewed-on: https://codeberg.org/poesty/snac2/pulls/1
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -33,7 +33,7 @@ xs_dict *http_signed_request_raw(const char *keyid, const char *seckey, | |||
| 33 | date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT"); | 33 | date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT"); |
| 34 | 34 | ||
| 35 | { | 35 | { |
| 36 | xs *s = xs_replace(url, "https:/" "/", ""); | 36 | xs *s = xs_replace_n(url, "https:/" "/", "", 1); |
| 37 | l1 = xs_split_n(s, "/", 1); | 37 | l1 = xs_split_n(s, "/", 1); |
| 38 | } | 38 | } |
| 39 | 39 | ||