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

Reimplement afp.conf include directive #1982

Open
rdmark opened this issue Feb 27, 2025 · 0 comments
Open

Reimplement afp.conf include directive #1982

rdmark opened this issue Feb 27, 2025 · 0 comments
Milestone

Comments

@rdmark
Copy link
Member

rdmark commented Feb 27, 2025

Previously, we relied on a local iniparser hack to realize the include = /path/to/file feature for in-place substitution of this line with an external ini file.

Now when using stock iniparser, another solution is required.

What I want to attempt to do is:

Introduce pre-processing of afp.conf that reads afp.conf, does a global regex search for include =[.*]\n grabs the path to read, does some validation on the data, injects it into afp.conf, then passes the stream to iniparser.

@rdmark rdmark added this to the release-4.2 milestone Mar 11, 2025
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

No branches or pull requests

1 participant