Skip to content

Set clear_untrusted_proxy_headers parameter to True by default - #370

Merged
digitalresistor merged 3 commits into
Pylons:masterfrom
Yourun-proger:del_warnings
Mar 19, 2022
Merged

digitalresistor merged 3 commits into
Pylons:masterfrom
Yourun-proger:del_warnings

Conversation

@Yourun-proger

@Yourun-proger Yourun-proger commented Mar 16, 2022 •

Copy link
Copy Markdown
Contributor

Refs to #330
I just changed the default value and removed the warning. I also removed the _bool_maker, because it was no longer needed. An update has been made in the documentation.

@digitalresistor

Copy link
Copy Markdown
Member

This change is not making it into 2.1.1, if you could update it to 2.1.2 that would be great.

@digitalresistor

Copy link
Copy Markdown
Member

Please run:

tox -e format

to make sure the code matches the coding style required. You will also want to run tests locally and remove/fix any tests that now fail due to the removal.

@Yourun-proger

Copy link
Copy Markdown
Contributor Author

Oh! Forgive me for this major omission...
Now I refactored through tox and changed version. I would like to ask: is this test, on which CI fails, really needed now? After all, this test just checked that the deprecation message appears. Now it has nothing to check. Should it be removed?

@digitalresistor

Copy link
Copy Markdown
Member

Yes, it can be removed if the test is no longer relevant. Please be aware that #330 is also about cleaning up other warnings, of which there are far more than just the proxy one that you are cleaning up here. I am okay with accepting this small change, but it does not fix #330.

Comment thread docs/arguments.rst Resolved
@Yourun-proger

Copy link
Copy Markdown
Contributor Author

Now all must be OK

@digitalresistor
digitalresistor merged commit 603d2c1 into Pylons:master Mar 19, 2022
@digitalresistor

Copy link
Copy Markdown
Member

Thank you!

digitalresistor pushed a commit that referenced this pull request May 30, 2022
This reverts commit 603d2c1, reversing
changes made to 9e0b8c8.
digitalresistor pushed a commit that referenced this pull request May 30, 2022
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.

2 participants