fix(linkedin-search): accept LinkedIn job URLs with trailing slashes in detail command (#411) (#412)

* fix(linkedin-search): accept LinkedIn job URLs with trailing slashes in detail command (#411)

* docs(changelog): record linkedin-search trailing-slash fix (#411)
This commit is contained in:
Abhinav
2026-09-01 21:35:06 +02:00
committed by GitHub
parent 4c38f7ce4c
commit 6ef295bf7b
3 changed files with 63 additions and 2 deletions
+8
View File
@@ -26,6 +26,14 @@ per-file diff commands.
### Fixed
- **`linkedin-search detail` accepts LinkedIn job URLs with trailing slashes** (#411) -
passing a job URL with a trailing slash (e.g., `https://www.linkedin.com/jobs/view/<id>/`
or a slugged variant with or without query strings) failed validation and exited 1 with
`BAD_ID` before any network request because the regex delimiter strictly expected `?`
or end-of-string immediately after the numeric ID. The boundary check now matches
`[\/?]`, correctly extracting IDs from browser-copied URLs, regional subdomains, and
links with tracking parameters. Pinned by eleven new cases in `parsing.test.ts`.
- **The `documents/interview/**` ignore rule no longer claims interview prep is written there**
(#336). `/interview` saves its pack to
`documents/applications/<company>_<role>/interview_prep_<stage>.md`, already ignored by