Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Split trackers by newline, not by "/n" #469

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

garret1317
Copy link

Fixes a bug where e.g. http://not-a-real-tracker.com was split into

http:/
ot-a-real-tracker.com

when the add trackers dialogue was next shown

First adding the tracker (typing/pasting it in):
Screenshot from 2024-11-02 17-25-20
Next time adding trackers (autofilled):
Screenshot from 2024-11-02 17-25-27

Fixes a bug where e.g. http://not-a-real-tracker.com was split into
http:/
ot-a-real-tracker.com
when the add trackers dialogue was next shown
@DjLegolas
Copy link
Contributor

Nice catch.
I think it will be better to use splitlines here as it will take care of all possible options.

covers every possibility
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