Skip to content

Conversation

@bjorn-wiberg
Copy link

Fixed BASH_VERSINFO numbering; tidied; added safeguards; added some comments; added the ability to read ifcico reqmap for aliases; added trailing slash to PUB variable (for potential find symlink traversal); added comments regarding removal of special characters; added comment regarding possibly unnecessary path traversal removal for the RequestList and ResponseList

Fixed BASH_VERSINFO numbering; tidied; added safeguards; added some comments; added the ability to read ifcico reqmap for aliases; added trailing slash to PUB variable (for potential find symlink traversal); added comments regarding removal of special characters; added comment regarding possibly unnecessary path traversal removal for the RequestList and ResponseList
@bjorn-wiberg
Copy link
Author

bjorn-wiberg commented Jul 12, 2021

Hello pgul!

Please feel free to review the suggested changes for srifreq (and use whichever parts you would like).

Most importantly this makes the script work with recent versions of bash (they appear to have changed the array contents of BASH_VERSINFO quite some time back in time).

Best regards
Björn Wiberg (2:201/137@fidonet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant