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

Profile RSS URL not saved #1

Open
aadilayub opened this issue Jan 11, 2023 · 2 comments
Open

Profile RSS URL not saved #1

aadilayub opened this issue Jan 11, 2023 · 2 comments

Comments

@aadilayub
Copy link

Hi, so I'm trying to sync posts from my mastodon profile https://merveilles.town/@aadil, but whenever I add my RSS url and click 'Update options', the input box becomes blank and no posts are synced (with or without auto-sync enabled).

Here's a screen recording:

sync-mastodon.mp4
@jsit
Copy link

jsit commented Apr 16, 2024

This is because the regex validator is only looking for top-level domains with 2 or 3 characters:

$valid_url_regex = '/^https?:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?$/';

@rosswintle
Copy link
Owner

Thanks for this, @jsit. That's pretty bad. I'll get that fixed. Unless you (or someone else reading) wants to PR it?

jsit added a commit to jsit/sync-mastodon that referenced this issue May 4, 2024
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

No branches or pull requests

3 participants