Skip to content

fix(core): add missing core.proxy_file module used by CLI#17

Open
mkilijanek wants to merge 1 commit into
matrixleons:mainfrom
mkilijanek:upstream/pr-proxy-file-loader
Open

fix(core): add missing core.proxy_file module used by CLI#17
mkilijanek wants to merge 1 commit into
matrixleons:mainfrom
mkilijanek:upstream/pr-proxy-file-loader

Conversation

@mkilijanek
Copy link
Copy Markdown
Contributor

Summary

Fix a missing runtime module required by evilwaf.py.

Problem

evilwaf.py imports core.proxy_file.load_proxy_file, but core/proxy_file.py is not present in upstream. This can break startup when Python resolves imports.

Change

  • add core/proxy_file.py with load_proxy_file(path) helper
  • parser behavior:
    • trims whitespace
    • ignores empty lines
    • ignores comment lines beginning with #

Validation

  • python3 -m py_compile evilwaf.py core/*.py chemistry/*.py

Risk

  • low, additive module only
  • no behavior changes outside proxy-file parsing path

@mkilijanek
Copy link
Copy Markdown
Contributor Author

Suggested merge sequence anchor: start here for runtime stabilization.\n\nProposed order: #17 -> #18 -> #19 -> #20 -> #21 -> #22 -> #23 -> #24 -> #25 -> #26.

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