[GH-ISSUE #3] unquote parameters #2

Closed
opened 2026-02-28 01:20:27 +03:00 by kerem · 2 comments
Owner

Originally created by @virusdefender on GitHub (Jul 15, 2020).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/3

for example load_module "modules/ngx_stream_module.so";

we will get a quoted string now

{
        "Block": null,
        "Name": "load_module",
        "Parameters": [
            "\"modules/ngx_stream_module.so\""
        ]
}
Originally created by @virusdefender on GitHub (Jul 15, 2020). Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/3 for example `load_module "modules/ngx_stream_module.so";` we will get a quoted string now ``` { "Block": null, "Name": "load_module", "Parameters": [ "\"modules/ngx_stream_module.so\"" ] } ```
kerem closed this issue 2026-02-28 01:20:27 +03:00
Author
Owner

@tufanbarisyildirim commented on GitHub (Dec 20, 2020):

@virusdefender thanks for reporting. You can trim it before using. This needs some more developements to keep parameters with sth like quoted flag. Because those are needed to be quoted on dumping. I will think on it to find an easy way without a gib refactor but I would like to keep as is. (if you have any advice, do not hesitate to open a PR)

<!-- gh-comment-id:748585526 --> @tufanbarisyildirim commented on GitHub (Dec 20, 2020): @virusdefender thanks for reporting. You can trim it before using. This needs some more developements to keep parameters with sth like `quoted` flag. Because those are needed to be quoted on dumping. I will think on it to find an easy way without a gib refactor but I would like to keep as is. (if you have any advice, do not hesitate to open a PR)
Author
Owner

@tufanbarisyildirim commented on GitHub (Jul 15, 2021):

closing this, I think unfolding should not be a part of parsing.

<!-- gh-comment-id:880571654 --> @tufanbarisyildirim commented on GitHub (Jul 15, 2021): closing this, I think unfolding should not be a part of parsing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gonginx#2
No description provided.