Timeout when adding specific sql block in wiki
Summary
When a page is saved in the Wiki with a specific SQL block, processing runs indefinitely.
Steps to reproduce
- Add a new page
- Add a SQL bloc like this one:
```sql
IF (OBJECT_ID('tempdb..##table_1') IS NOT NULL) DROP TABLE ##table_1
-- comment 1
```
- Save changes
What is the current bug behavior?
After clicking on "Save change", processing runs until a timeout (error 504 in my case).
What is the expected correct behavior?
Simply save the page
Relevant logs and/or screenshots
Results of GitLab environment info
GitLab Community Edition v16.7.3
I'm not the administrator of this instance... I have no further information (sorry)
Edited by 🤖 GitLab Bot 🤖