mirror of
https://github.com/amnezia-vpn/amneziawg-android.git
synced 2026-10-14 05:41:48 +00:00
[GH-ISSUE #34] must ignore comments in wg configs while scanning the qr codes instead of declining the config entirely #22
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-android#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jun 9, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-android/issues/34
so far it doesnt support any configs that got comments in them
@ghost commented on GitHub (Jun 10, 2025):
@outspace @pokamest @albexk
github.com/amnezia-vpn/amneziawg-android@e71423f46d/tunnel/src/main/java/org/amnezia/awg/config/Interface.java (L87)github.com/amnezia-vpn/amneziawg-android@e71423f46d/tunnel/src/main/java/org/amnezia/awg/config/Peer.java (L55)add ignore lines that start with #, for both attributes and "sections", can be simply skipped by
if (line.toString().trim().startsWith("#")) continue;, fix it its annoying