Closed drewvolz closed 7 years ago
Thinking more about this, you all simply use the iOS Data Detectors.
[NSDataDetector dataDetectorWithTypes:(int)(NSTextCheckingTypeLink) error:NULL];
This means it is not your issue. Wikipedia allows all valid characters in their URLs. Let's call this an Apple bug...
It appears Telegram strips out punctuation from the URL. One is unable to send the link without a URL shortening service, or further instruction on appending punctuation to the end.
Trying to send this https://en.m.wikipedia.org/wiki/List_of_products_discontinued_by_Apple_Inc. which has a period on the end of the article name results in a page that is not found, as the URL is no longer what it needs to be.