Cannot Add LinkedIn URL with Dashes to Social Accounts

Issue Summary

  • My LinkedIn URL has a - in the username. If I try to use this URL for my Social Accounts in Ghost, it says the username is invalid and won’t save.
  • This is a valid URL, but it won’t save until I remove the - from it, which makes it no longer the correct URL.

Steps to Reproduce

  1. Add a LinkedIn URL in the Social Accounts settings that has a - in the username portion.

Setup information

Ghost Version
6.44.0

Node.js Version
22.13.1

How did you install Ghost?
Installed as standalone on a dedicated VM. Not setup in a container as I deployed just before that became an option.

Provide details of your host & operating system
Ubuntu 24.04.4 LTS, Proxmox hosted VM with 2 vCPU and 4GB RAM

Database type
MySQL 8.0.46

Browser & OS version
Tested on Edge and Chrome, latest releases