From 1044b66ee7180d28ade26c8174f3c5e2e1430b16 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 14 Jul 2026 18:32:39 -0500 Subject: fix: resolve nil-deref crash, CSRF panic, add timeouts + clear CDN-block errors; repoint module to zerolabsco References: https://github.com/zerolabsco/skunky-art/issues/2 --- deviantion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deviantion.go') diff --git a/deviantion.go b/deviantion.go index 070caf4..288b0e2 100644 --- a/deviantion.go +++ b/deviantion.go @@ -142,7 +142,7 @@ func GetDeviation(id string, user string) (st Post, err Error) { // базовая обработка описания txt := st.Deviation.TextContent.Html.Markup - if len(txt) > 0 && txt[1] == '{' { + if len(txt) > 1 && txt[1] == '{' { var description struct { Blocks []struct { Text string -- cgit v1.2.3