You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is strictly related to the specs & implementation of the function in `https://github.com/KaruroChori/vs-fltk/pull/21`.
It is intended behaviour due to an internal convention for paths being used as base, and generated by the normalizer:
Paths ending with / are normalized paths where the last token is a directory
Paths not ending with / are normalized paths where the last token is a file (which can be stripped in several cases)
Even if a bit annoying, this is generally fine as users are not allowed to inject paths from the outside.
However I did an exception for some injected values via env variables.
Yet, paths injected via those variables must follow those same rules to work properly.
As they are user-facing, either this has to be well documented, or I should have a more tolerant sanitation for env variables to prevent situations like this one.
Related to KaruroChori#47
This sets the default shell for 'builder' to '/bin/bash'.
When using 'meson devenv', the prompt becomes "[vs-fltk]
builder@0884a9be3841:/vs-workspace/build$" instead of "?" now.
Although that doesn't really improve anything except cli editing, as
I've moved the variables to the entrypoint scripts, and therefore devenv
isn't needed if using the docker container.
This also fixes this annoying message when starting the container:
bash: cannot set terminal process group (14): Inappropriate ioctl for
device
bash: no job control in this shell
builder@b7d17feb7490:~$
Related to #47
This sets the default shell for 'builder' to '/bin/bash'.
When using 'meson devenv', the prompt becomes "[vs-fltk]
builder@0884a9be3841:/vs-workspace/build$" instead of "?" now.
Although that doesn't really improve anything except cli editing, as
I've moved the variables to the entrypoint scripts, and therefore devenv
isn't needed if using the docker container.
This also fixes this annoying message when starting the container:
bash: cannot set terminal process group (14): Inappropriate ioctl for
device
bash: no job control in this shell
builder@b7d17feb7490:~$
Co-authored-by: KaruroChori <[email protected]>
It is intended behaviour due to an internal convention for paths being used as base, and generated by the normalizer:
/
are normalized paths where the last token is a directory/
are normalized paths where the last token is a file (which can be stripped in several cases)Even if a bit annoying, this is generally fine as users are not allowed to inject paths from the outside.
However I did an exception for some injected values via env variables.
Yet, paths injected via those variables must follow those same rules to work properly.
As they are user-facing, either this has to be well documented, or I should have a more tolerant sanitation for env variables to prevent situations like this one.
Originally posted by @KaruroChori in #20 (comment)
The text was updated successfully, but these errors were encountered: