Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gluon-config-mode-core: discard gluon-reconfigure output #2395

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

neocturne
Copy link
Member

The stdout output of gluon-web scripts is directly sent to uhttpd,
becoming a part of the HTML output or even replacing HTTP status or
headers. The output of gluon-reconfigure is not supposed to end up
there.

While we're at it, also add an exec to avoid an unnecessary shell
process.

Extracted from #2372, as we'll also want to backport this commit to v2021.1.x as soon as possible.

The stdout output of gluon-web scripts is directly sent to uhttpd,
becoming a part of the HTML output or even replacing HTTP status or
headers. The output of gluon-reconfigure is not supposed to end up
there.

While we're at it, also add an exec to avoid an unnecessary shell
process.
@neocturne neocturne added 3. topic: package Topic: Gluon Packages 2. status: waiting-on-review Awaiting review from the assignee but also interested parties. 3. topic: config-mode This is about the configuration mode 0. type: bugfix This changeset fixes abug labels Feb 15, 2022
@github-actions github-actions bot removed the 3. topic: config-mode This is about the configuration mode label Feb 15, 2022
@neocturne neocturne merged commit eea49a2 into master Feb 22, 2022
@neocturne neocturne deleted the fix-web-reconfigure-output branch February 22, 2022 17:51
neocturne added a commit that referenced this pull request Feb 22, 2022
The stdout output of gluon-web scripts is directly sent to uhttpd,
becoming a part of the HTML output or even replacing HTTP status or
headers. The output of gluon-reconfigure is not supposed to end up
there.

While we're at it, also add an exec to avoid an unnecessary shell
process.

(cherry picked from commit eea49a2)
JayBraker pushed a commit to JayBraker/gluon that referenced this pull request Apr 12, 2023
…uon#2395)

The stdout output of gluon-web scripts is directly sent to uhttpd,
becoming a part of the HTML output or even replacing HTTP status or
headers. The output of gluon-reconfigure is not supposed to end up
there.

While we're at it, also add an exec to avoid an unnecessary shell
process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. type: bugfix This changeset fixes abug 2. status: waiting-on-review Awaiting review from the assignee but also interested parties. 3. topic: package Topic: Gluon Packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants