nfrasser / linkifyjs

JavaScript plugin for finding links in plain-text and converting them to HTML <a> tags.
https://linkify.js.org
MIT License
1.84k stars 183 forks source link

Some special long URLs cannot be parsed correctly #490

Open no3keyboard opened 1 month ago

no3keyboard commented 1 month ago

case : https://xxxxx-xxxxx.xxxxx.io/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h%2Fh,to:now))&_a=(columns:!(),filters:!(),index:'7bcc7bb0-4a37-11ef-920c-b92aa0004024',interval:auto,query:(language:kuery,query:'user_id%20171177%20and%20event_name%20long_task_duration'),sort:!(!(timestamp,desc))) but result is : https://xxxxx-xxxxx.xxxxx.io/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h%2Fh,to:now))&_a=(columns:!(),filters:!(),index:'7bcc7bb0-4a37-11ef-920c-b92aa0004024',interval:auto,query:(language:kuery,query:'user_id%20171177%20and%20event_name%20long_task_duration'),sort:!(!(timestamp,desc)

miss two ‘)’ de93ce6b0c36b75383adffa474d9b896

no3keyboard commented 1 month ago

other case : https://xxxxx.xxxxx.xxxxx.xxxxx.com/api/v1/namespaces/kube-system/services/kibana-logging/proxy/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:'2024-04-15T05:01:50.508Z',mode:absolute,to:'2024-04-15T05:04:30.000Z'))&_a=(columns:!(_source),index:c7d41c20-67ae-11ec-b9c0-67671ee70594,interval:auto,query:(language:lucene,query:fill_vk_user_active_info),sort:!('@timestamp',desc)) result is : https://xxxxx.xxxxx.xxxxx.xxxxx.com/api/v1/namespaces/kube-system/services/kibana-logging/proxy/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:'2024-04-15T05:01:50.508Z',mode:absolute,to:'2024-04-15T05:04:30.000Z'))&_a=(columns:!(_source),index:c7d41c20-67ae-11ec-b9c0-67671ee70594,interval:auto,query:(language:lucene,query:fill_vk_user_active_info),sort:!('@timestamp',desc)

miss one ')' d12f9880d85c4dfbe5cc8b0acf79cf3a

but those link is right in X or github or some software