linkedin / linkedin/URL-Detector

Japanese Characters cause the entire string to be detected as a URL

Open
#39 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
785
Forks
184
PR merge metrics
No merged PRs in 30d

Description

If you run the detector in the text below, it thinks the whole text is a URL.

我进入你的主页很卡顿,也许是你的关注人数或者其他数据太多了,其他人主页没有这么卡顿。来自amethyst客户端

Characters 。 and , are single characters and are not considered spaces in this library.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the detector behavior with the Chinese text in the issue, focusing on the 。 and , characters and the embedded client name. Trace the detector entry point that classifies the entire string as a URL. Done means the text is no longer detected as one URL while valid URLs continue to be recognized.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.