Unable to Create Snippets with `&& !`: ECONNRESET
Created by: johnjelinek
I get an ECONNRESET if my snippets have && !
in them. This is in GitLab 7.9.1.
▶ curl 'http://gitlab/snippets' \
-H 'Host: gitlab' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
-H 'Accept-Language: en-US,en;q=0.5' --compressed \
-H 'Referer: http://gitlab/snippets/new' \
-H 'Cookie: _gitlab_session=xxx' \
-H 'Connection: keep-alive' \
--data 'utf8=%E2%9C%93&authenticity_token=xxx&personal_snippet%5Btitle%5D=test&personal_snippet%5Bvisibility_level%5D=0&personal_snippet%5Bfile_name%5D=test.rb&personal_snippet%5Bcontent%5D=%26%26+%21'
* upload completely sent off: 239 out of 239 bytes
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer