Hi...
I noticed on my new forum if you type anything with a zip extension (for example: test.zip) it creates a link out of "test.zip" pointing to https://test.zip ... is this a setting I messed up somewhere?
Actually it does the very same thing here too... see... it created a link out of test.zip??
Why?
Because someone decided (not us) that .zip is a perfectly valid tld.
https://en.wikipedia.org/wiki/.zip_(top-level_domain)
Quote from: FrizzleFried on May 18, 2025, 12:34:00 AMI noticed on my new forum if you type anything with a zip extension (for example: test.zip) it creates a link out of "test.zip" pointing to https://test.zip ... is this a setting I messed up somewhere?
@FrizzleFried If you want to stop that from happening the SMF 2.1 Autolink Basic URLs (https://custom.simplemachines.org/index.php?mod=4370) mod will only automatically link basic URLs (ie, only URLs starting with 'ftp://', 'ftps://', 'http://', 'https://' or 'www.', and email addresses) as per SMF 2.0.
It's also worth noting that in SMF 3.0 this problem will be properly and permanently solved.
Specifically, in SMF 3.0 auto-linking will happen in the editor while composing a post and the user will be able to unlink an auto-link on the fly. This is different from SMF 2.x, where auto-linking happens during the output phase and is therefore outside of the user's control.
This means that when the user types "test.zip" into their post, the editor will initially recognize it as a URL and auto-link it (because, yes, someone at ICANN decided that "zip" should be allowed as a TLD), but then the user can unlink it and it will stay unlinked thereafter.
Thank you both. :)