Fossil SCM
Do not short-circuit a /timeline request using ETAGS if the bisect parameter is used.
Commit
4acb9cd27659870d0dd4036b01130763db54ecaec710c6a64046686a12e0c290
Parent
29f7da931863784…
1 file changed
+3
-1
+3
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1747,11 +1747,13 @@ | ||
| 1747 | 1747 | || (bisectLocal && !g.perm.Setup) |
| 1748 | 1748 | ){ |
| 1749 | 1749 | login_needed(g.anon.Read && g.anon.RdTkt && g.anon.RdWiki); |
| 1750 | 1750 | return; |
| 1751 | 1751 | } |
| 1752 | - etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); | |
| 1752 | + if( !bisectLocal ){ | |
| 1753 | + etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); | |
| 1754 | + } | |
| 1753 | 1755 | cookie_read_parameter("y","y"); |
| 1754 | 1756 | zType = P("y"); |
| 1755 | 1757 | if( zType==0 ){ |
| 1756 | 1758 | zType = g.perm.Read ? "ci" : "all"; |
| 1757 | 1759 | cgi_set_parameter("y", zType); |
| 1758 | 1760 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1747,11 +1747,13 @@ | |
| 1747 | || (bisectLocal && !g.perm.Setup) |
| 1748 | ){ |
| 1749 | login_needed(g.anon.Read && g.anon.RdTkt && g.anon.RdWiki); |
| 1750 | return; |
| 1751 | } |
| 1752 | etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); |
| 1753 | cookie_read_parameter("y","y"); |
| 1754 | zType = P("y"); |
| 1755 | if( zType==0 ){ |
| 1756 | zType = g.perm.Read ? "ci" : "all"; |
| 1757 | cgi_set_parameter("y", zType); |
| 1758 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1747,11 +1747,13 @@ | |
| 1747 | || (bisectLocal && !g.perm.Setup) |
| 1748 | ){ |
| 1749 | login_needed(g.anon.Read && g.anon.RdTkt && g.anon.RdWiki); |
| 1750 | return; |
| 1751 | } |
| 1752 | if( !bisectLocal ){ |
| 1753 | etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); |
| 1754 | } |
| 1755 | cookie_read_parameter("y","y"); |
| 1756 | zType = P("y"); |
| 1757 | if( zType==0 ){ |
| 1758 | zType = g.perm.Read ? "ci" : "all"; |
| 1759 | cgi_set_parameter("y", zType); |
| 1760 |