View | Details | Raw Unified | Return to bug 244618 | Differences between
and this patch

Collapse All | Expand All

(-)net-im/prosody/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	prosody
4
PORTNAME=	prosody
5
PORTVERSION=	0.11.5
5
PORTVERSION=	0.11.5
6
PORTREVISION=	1
6
CATEGORIES=	net-im
7
CATEGORIES=	net-im
7
MASTER_SITES=	https://prosody.im/downloads/source/
8
MASTER_SITES=	https://prosody.im/downloads/source/
8
9
(-)net-im/prosody/files/patch-plugins_mod__http__files.lua (+11 lines)
Line 0 Link Here
1
--- plugins/mod_http_files.lua.orig	2020-01-19 15:50:32 UTC
2
+++ plugins/mod_http_files.lua
3
@@ -112,7 +112,7 @@ function serve(opts)
4
 		local last_modified = os_date('!%a, %d %b %Y %H:%M:%S GMT', attr.modification);
5
 		response_headers.last_modified = last_modified;
6
 
7
-		local etag = ('"%02x-%x-%x-%x"'):format(attr.dev or 0, attr.ino or 0, attr.size or 0, attr.modification or 0);
8
+		local etag = ('"%x-%x-%x"'):format(attr.change or 0, attr.size or 0, attr.modification or 0);
9
 		response_headers.etag = etag;
10
 
11
 		local if_none_match = request_headers.if_none_match

Return to bug 244618