diff options
| author | Christian Cleberg <[email protected]> | 2026-07-14 18:32:39 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-14 18:32:39 -0500 |
| commit | 1044b66ee7180d28ade26c8174f3c5e2e1430b16 (patch) | |
| tree | 4df1259342f4ff5bc3b8d9be2f4e7a5178e94eea /deviantion.go | |
| parent | b3c99749f133abf6c04506135c2e4e7567da5254 (diff) | |
| download | devianter-1044b66ee7180d28ade26c8174f3c5e2e1430b16.tar.gz devianter-1044b66ee7180d28ade26c8174f3c5e2e1430b16.tar.bz2 devianter-1044b66ee7180d28ade26c8174f3c5e2e1430b16.zip | |
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
Diffstat (limited to 'deviantion.go')
| -rw-r--r-- | deviantion.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
