[GH-ISSUE #323] [BUG] Missing dot #78

Closed
opened 2026-03-03 13:58:57 +03:00 by kerem · 1 comment
Owner

Originally created by @Cronvs on GitHub (Sep 28, 2023).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/323

Originally assigned to: @konstruktoid on GitHub.

Describe the bug
Aptget scripts will not match.

To Reproduce
have Acquire::http::AllowRedirect option before running script, will not include the "false"/"true" in pattern.

Expected behavior
Full pattern supposed to match and be substituted.

System (lsb_release -a):

Additional context
Lazy ass bum CBA to change line 34 in aptget script from 's/.Acquire::http::AllowRedirect/......' to 's/.Acquire::http::AllowRedirect./.....". Basically, there's a dot missing before the last asterisk.

Originally created by @Cronvs on GitHub (Sep 28, 2023). Original GitHub issue: https://github.com/konstruktoid/hardening/issues/323 Originally assigned to: @konstruktoid on GitHub. **Describe the bug** Aptget scripts will not match. **To Reproduce** have Acquire::http::AllowRedirect option before running script, will not include the "false"/"true" in pattern. **Expected behavior** Full pattern supposed to match and be substituted. **System (lsb_release -a):** **Additional context** Lazy ass bum CBA to change line 34 in aptget script from 's/.*Acquire::http::AllowRedirect*/......' to 's/.*Acquire::http::AllowRedirect.*/.....". Basically, there's a dot missing before the last asterisk.
kerem closed this issue 2026-03-03 13:58:57 +03:00
Author
Owner

@konstruktoid commented on GitHub (Sep 29, 2023):

Thanks @Xavantex!

<!-- gh-comment-id:1740790429 --> @konstruktoid commented on GitHub (Sep 29, 2023): Thanks @Xavantex!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hardening#78
No description provided.