Network error when saving issue or snippet with some terms

Summary

Error 500 when saving snippet or issue

Steps to reproduce

Create a snippet on gitlab.com or a local install with the following code

So this also affects my ability to have this text in an issue here but it works on github so this is the sql contents of a bug or issue.

https://gist.github.com/doublej42/c680f18e4a418688bcf7471122ec873d

file: test.sql

Title: text crash

description : blank

Example Project

I used https://gitlab.com/snippets/1906479/ to test this on gitlab.com as I first saw it on my own install

What is the current bug behavior?

This page isn’t workinggit.nanaimo.ca didn’t send any data.
ERR_EMPTY_RESPONSE

What is the expected correct behavior?

Save the snippet

Relevant logs and/or screenshots

[22/Oct/2019:20:32:38 +0000] "POST /application-support/git-documentation/snippets/8 HTTP/1.1" 400 0 "https://git.nanaimo.ca/application-support/git-documentation/snippets/8/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.10.110.137 - - [22/Oct/2019:20:32:38 +0000] "POST /application-support/git-documentation/snippets/8 HTTP/1.1" 400 0 "https://git.nanaimo.ca/application-support/git-documentation/snippets/8/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.10.110.137 - - [22/Oct/2019:20:32:38 +0000] "POST /application-support/git-documentation/snippets/8 HTTP/1.1" 400 0 "https://git.nanaimo.ca/application-support/git-documentation/snippets/8/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.10.110.137 - - [22/Oct/2019:20:32:38 +0000] "POST /application-support/git-documentation/snippets/8 HTTP/1.1" 400 0 "https://git.nanaimo.ca/application-support/git-documentation/snippets/8/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"

Output of checks

This bug happens on GitLab.com

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Oct 22, 2019 by Jeff Jacob
Assignee Loading
Time tracking Loading