linkedin / linkedin/URL-Detector

Normalized Url Detected http://null/

Open
#1 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
785
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Detecting the following url

```
www.foo1111111111aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com
```
- works ok for normal UrlDetector
- fails when calling NormalizedUrl.create and returns it as "http://null/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the sample URL through NormalizedUrl.create and compare its result with the normal UrlDetector path. Trace how the normalized URL is assembled and determine why the result contains "http://null/"; done means the sample no longer produces that malformed URL while normal detection remains unchanged.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.