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
I've been using lampcms and one thing I've noticed is the ! in the file "!config.ini"
Having a ! in the filename makes it tricky to open the file on the shell in vim or some other tool, it has to be escaped.
! starts a history lookup on the shell if it's not escaped correctly.
Could the ! be removed from the file name and the file be called config.ini ?
Thanks
James
The text was updated successfully, but these errors were encountered:
Right, it also makes it harder to hack using shell script. This is a pretty
common pattern to add extra layer of security to config files. If you need
to rerference the file from shell just enclose it in quotes.
for example cat 'path/to/!config.ini'
I've been using lampcms and one thing I've noticed is the ! in the file
"!config.ini"
Having a ! in the filename makes it tricky to open the file on the shell
in vim or some other tool, it has to be escaped.
! starts a history lookup on the shell if it's not escaped correctly.
Could the ! be removed from the file name and the file be called
config.ini ?
Thanks
James
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/114
.
Hi
I've been using lampcms and one thing I've noticed is the ! in the file "!config.ini"
Having a ! in the filename makes it tricky to open the file on the shell in vim or some other tool, it has to be escaped.
! starts a history lookup on the shell if it's not escaped correctly.
Could the ! be removed from the file name and the file be called config.ini ?
Thanks
James
The text was updated successfully, but these errors were encountered: