mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 00:35:51 +03:00
[PR #40] [MERGED] feat: added WithSkipValidDIrectivesErr option #55
Labels
No labels
bug
enhancement
good first issue
pull-request
question
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gonginx#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tufanbarisyildirim/gonginx/pull/40
Author: @0xJacky
Created: 1/16/2024
Status: ✅ Merged
Merged: 1/19/2024
Merged by: @tufanbarisyildirim
Base:
master← Head:master📝 Commits (1)
c0d7695feat: added WithSkipValidDIrectivesErr option📊 Changes
1 file changed (+18 additions, -8 deletions)
View changed files
📝
parser/parser.go(+18 -8)📄 Description
When parsing the following content in gonginx v2, it will throw a error: unknown directive '''' on line 3, column 5.
However, this configuration is provided by https://nginx.org/en/docs/http/websocket.html.
I think we can add a WithSkipValidDIrectivesErr option to skip the directives validation check.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.