diff options
author | Omar Polo <op@omarpolo.com> | 2020-11-18 09:45:28 +0100 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2020-11-18 09:45:28 +0100 |
commit | c603f1260de9fb2cc81dd886a5ddb8e43caa9d0c (patch) | |
tree | 360034e278c34968d40b295c6f6517d7beaa636c | |
parent | dd3895586f02713b2ef058190d7cade1beb39fce (diff) |
fix bug introduced in last version regarding full URLs1.3.2
gemini://example.com was incorrectly parsed.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gmid.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2020-11-18 Omar Polo <op@omarpolo.com> + * 1.3.2 tagged + + * gmid.c (url_after_proto): fix bug introduced in last version + regarding full URLs with explicit gemini protocol. + * 1.3.1 tagged * gmid.c (url_after_proto): correct url parsing: accept URLs @@ -171,7 +171,7 @@ char * url_after_proto(char *url) { char *s; - const char *proto = "gemini"; + const char *proto = "gemini:"; const char *marker = "//"; /* a relative URL */ |