mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 08:45:57 +03:00
[GH-ISSUE #17] > ${var} breaks the parser. #6
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#6
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?
Originally created by @tufanbarisyildirim on GitHub (May 1, 2023).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/17
Originally assigned to: @tufanbarisyildirim on GitHub.
Looks like ${var} can break the parser.
Hi @tufanbarisyildirim. Sorry for the delay... but here is the example. GoNginx destroys my location blocks.
Here is my original config code and here is the mangled code from GoNginx
Originally posted by @pksml85 in https://github.com/0xJacky/nginx-ui/issues/73#issuecomment-1528894406
@tufanbarisyildirim commented on GitHub (May 4, 2023):
I think a good plan could be something like;
Parameter(at same level with Directive) statement in parser and encapsulate all tokens that creates the parameter.@tufanbarisyildirim commented on GitHub (May 8, 2023):
instead, changed the way we read a keyword, now token.Variable is useless and we need another PR to clean it up.