~dancek/twinwiki-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Fix duplicate "30" in response header

Details
Message ID
<20200814035913.18252-1-fkfd@macaw.me>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index a58f84e..951f4f1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -243,7 +243,7 @@ fn redirect_response(page: &str, subpath: &str) {
    let url = absolute_url(page);
    match subpath {
        "" => response_header(30, url),
        _ => response_header(30, format!("30 {}/{}", url, subpath)),
        _ => response_header(30, format!("{}/{}", url, subpath)),
    }
}

-- 
2.28.0
Reply to thread Export thread (mbox)