AdguardTeam / AdguardTeam/AdGuardVPNForWindows

Importing exclusions with full IP addresses results in extra incorrect partial IP entries being added

Open
#886 0 comments 0 reactions 0 assignees View on GitHub
Bug Priority: P4
Dominant language
No language data
Stars
207
Forks
19
PR merge metrics
No merged PRs in 30d

Description

### Please answer the following questions for yourself before submitting an issue.

- [x] I checked the [knowledge base](https://adguard-vpn.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard VPN version

2.6.0 Beta 1 and 2.5.1700.0.

### Environment

```markdown
- OS: Windows 11 (24H2, 26100/4061)
```

### Which DNS server do you use?

Default

### Custom DNS

_No response_

### Use Wintun

- [ ] yes, I do

### Issue Details

Steps to reproduce:

1. Navigate to Exclusions → Websites.
2. Add IP addresses to the exclusions list, for example:
5.200.14.249
18.165.140.0/24
23.227.38.74
3. Click Export exclusions and save the file.
4. Click Import exclusions and select the saved file.

### Expected Behavior

Only the original exclusions should be present:

5.200.14.249
18.165.140.0/24
23.227.38.74

### Actual Behavior

Additional incorrect entries appear, such as:

14.249
140.0
38.74

(See attached screenshot)

### Screenshots

Screenshot 1

![Image](https://github.com/user-attachments/assets/0fb6d3cc-1e91-4ea5-b3b5-d83abf582d3d)

### Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.