Fossil SCM
Activate the robot-restrict "timelineX" flag if the c= query parameter is used.
Commit
59ae0e0b18c6aea802950d4e54a40e5cc23b47ad248d9af13d414ce4aa421ca7
Parent
879deeda66191d9…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1830,11 +1830,11 @@ | ||
| 1830 | 1830 | || (bisectLocal && !g.perm.Setup) |
| 1831 | 1831 | ){ |
| 1832 | 1832 | login_needed(g.anon.Read && g.anon.RdTkt && g.anon.RdWiki); |
| 1833 | 1833 | return; |
| 1834 | 1834 | } |
| 1835 | - if( zBefore && robot_restrict("timelineX") ) return; | |
| 1835 | + if( (zBefore || zCirca) && robot_restrict("timelineX") ) return; | |
| 1836 | 1836 | if( !bisectLocal ){ |
| 1837 | 1837 | etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); |
| 1838 | 1838 | } |
| 1839 | 1839 | cookie_read_parameter("y","y"); |
| 1840 | 1840 | zType = P("y"); |
| 1841 | 1841 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1830,11 +1830,11 @@ | |
| 1830 | || (bisectLocal && !g.perm.Setup) |
| 1831 | ){ |
| 1832 | login_needed(g.anon.Read && g.anon.RdTkt && g.anon.RdWiki); |
| 1833 | return; |
| 1834 | } |
| 1835 | if( zBefore && robot_restrict("timelineX") ) return; |
| 1836 | if( !bisectLocal ){ |
| 1837 | etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); |
| 1838 | } |
| 1839 | cookie_read_parameter("y","y"); |
| 1840 | zType = P("y"); |
| 1841 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1830,11 +1830,11 @@ | |
| 1830 | || (bisectLocal && !g.perm.Setup) |
| 1831 | ){ |
| 1832 | login_needed(g.anon.Read && g.anon.RdTkt && g.anon.RdWiki); |
| 1833 | return; |
| 1834 | } |
| 1835 | if( (zBefore || zCirca) && robot_restrict("timelineX") ) return; |
| 1836 | if( !bisectLocal ){ |
| 1837 | etag_check(ETAG_QUERY|ETAG_COOKIE|ETAG_DATA|ETAG_CONFIG, 0); |
| 1838 | } |
| 1839 | cookie_read_parameter("y","y"); |
| 1840 | zType = P("y"); |
| 1841 |