AdGuardHome
AdGuardHome copied to clipboard
Added duplicate rewrite entry check (partially fixes #4585)
Loop over existing entries and return an error if the entry already exists
Thank you, but I'd like to put this on hold, since the HTTP API and its code will be fully rewritten during the v0.108 cycle. Also, correct me if I'm wrong, but this won't check for duplicates in the data that is currently being sent?
This only accounts for sending one single rewrite because the current implementation doesn't work for multiple rewrites. 🤷🏻
Ah, you're right. I've been thinking ahead of myself :sweat_smile:.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.