Fossil SCM
Add in a missing line from the Unshun x-site fix of [cc9b04baaf].
Commit
1b5f9ac250ee81e62dd1e1bb744f889d3ac480d6
Parent
f592b80a176d617…
1 file changed
+1
+1
| --- src/shun.c | ||
| +++ src/shun.c | ||
| @@ -66,10 +66,11 @@ | ||
| 66 | 66 | zUuid = zCanonical; |
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | style_header("Shunned Artifacts"); |
| 70 | 70 | if( zUuid && P("sub") ){ |
| 71 | + login_verify_csrf_secret(); | |
| 71 | 72 | db_multi_exec("DELETE FROM shun WHERE uuid='%s'", zUuid); |
| 72 | 73 | if( db_exists("SELECT 1 FROM blob WHERE uuid='%s'", zUuid) ){ |
| 73 | 74 | @ <p class="noMoreShun">Artifact |
| 74 | 75 | @ <a href="%s(g.zTop)/artifact/%s(zUuid)">%s(zUuid)</a> is no |
| 75 | 76 | @ longer being shunned.</p> |
| 76 | 77 |
| --- src/shun.c | |
| +++ src/shun.c | |
| @@ -66,10 +66,11 @@ | |
| 66 | zUuid = zCanonical; |
| 67 | } |
| 68 | } |
| 69 | style_header("Shunned Artifacts"); |
| 70 | if( zUuid && P("sub") ){ |
| 71 | db_multi_exec("DELETE FROM shun WHERE uuid='%s'", zUuid); |
| 72 | if( db_exists("SELECT 1 FROM blob WHERE uuid='%s'", zUuid) ){ |
| 73 | @ <p class="noMoreShun">Artifact |
| 74 | @ <a href="%s(g.zTop)/artifact/%s(zUuid)">%s(zUuid)</a> is no |
| 75 | @ longer being shunned.</p> |
| 76 |
| --- src/shun.c | |
| +++ src/shun.c | |
| @@ -66,10 +66,11 @@ | |
| 66 | zUuid = zCanonical; |
| 67 | } |
| 68 | } |
| 69 | style_header("Shunned Artifacts"); |
| 70 | if( zUuid && P("sub") ){ |
| 71 | login_verify_csrf_secret(); |
| 72 | db_multi_exec("DELETE FROM shun WHERE uuid='%s'", zUuid); |
| 73 | if( db_exists("SELECT 1 FROM blob WHERE uuid='%s'", zUuid) ){ |
| 74 | @ <p class="noMoreShun">Artifact |
| 75 | @ <a href="%s(g.zTop)/artifact/%s(zUuid)">%s(zUuid)</a> is no |
| 76 | @ longer being shunned.</p> |
| 77 |