-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation strips the subdirectory name while trying to create a navigation item #19795
Comments
Hey there, thank you so much for the bug report. That does look like something that shouldn't happen! A PR to fix this issue would be very welcome 🙂 |
Additional info: This is happening on both Primary & Secondary Navigation options. |
Can You assign this issue to me. I am interested to work on it |
Hi @daniellockyer . I am Interested. Anyone working on this? Please assign this to me. I will work on it. Thanks. |
Hey @truekasun , Thanks for the video - that made the problem super clear. Or at least, it should have. I am trying to replicate this, and I can't. Would you mind checking on Ghost 5.98 or 5.97 to see if the problem is still there? When I set up Ghost as a subsite, the url fields all include the subsite path, and editing or adding new ones doesn't stripe the path, in my setup. |
Hi @cathysarisky , Sure, I'll try this and will update the findings here. I still have a few environments that I haven't updated yet. |
@cathysarisky @daniellockyer Thank you @cathysarisky for giving it a shot. |
Issue Summary
Navigation strips the subdirectory name when trying to create a navigation item.
Let's say:
When trying to create a navigation item with the target "https://domain.com/blog/about",
The editor strips away the word "blog" from the navigation item URL (as soon as the user clicks away from the URL field)
Steps to Reproduce
msedge_0fdMpJHvV0.mp4
Ghost Version
5.80.0
Node.js Version
18.19.1
How did you install Ghost?
Self-hosted | Subdirectory | Ubuntu 20.04.6 (LTS)
Database type
MySQL 8
Browser & OS version
Microsoft Edge 122.0.2365.52 | Mozilla Firefox 123.0
Relevant log / error output
Code of Conduct
The text was updated successfully, but these errors were encountered: