Inconsistent linkifier behavior regarding links ending with ?
compared to Android and iOS
#6045
Open
2 tasks done
Labels
Bug Description
When a link ends with
?
in a message like... https://signal.org/?
, iOS (and it seems Android as well) include the?
when linkifying and creating a link preview. However, Desktop does not, so it drops the link preview when receiving such messages.Sending the same message from Desktop instead seems to work however, i.e. at least iOS does not drop the link preview, even though it still linkifies with the
?
unlike Desktop (not sure if dropping is implemented on iOS though in the first place; perhaps signalapp/Signal-iOS#5384 is somewhat related in this regard).#4550 may be related.
Steps to Reproduce
https://signal.org/?
.Actual Result: Desktop will not show the preview, as its linkifier does not include the
?
in the link.Expected Result: Desktop should have the same linkification behavior and keep the link preview.
Screenshots
(Pay attention to where the underline ends:)
Platform Info
Signal Version: 5.52.0-beta.1
Operating System: macOS 13.0 Public Beta (22A5295i)
Linked Device Version: Signal iOS 5.47.0.7
Link to Debug Log
Example message sent timestamp:
1658739801652
.iOS (sender): https://debuglogs.org/ios/5.47.0/e18825a172a7b1ea29665dab59deafa5511399b1de89c5e3d605a9e82cc55302.zip
Linked Desktop: https://debuglogs.org/desktop/5.52.0-beta.1/19214ab2eb036f61f1b746e1f622acee34744a52c90ceaec02babefe785544db.gz
The text was updated successfully, but these errors were encountered: