Skip to content
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

Broken link in published webhelp for zowe zos-files upload dir-to-uss #2308

Open
adam-wolfe opened this issue Oct 14, 2024 · 4 comments
Open
Labels
bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases

Comments

@adam-wolfe
Copy link
Contributor

adam-wolfe commented Oct 14, 2024

Describe the bug

https://docs.zowe.org/stable/web_help/index.html?p=zowe_zos-files_upload_dir-to-uss contains a link that should point to https://git-scm.com/docs/gitignore#_pattern_format, but is broken by a newline.

Expected and actual results

Describe your environment

Additional context

@adam-wolfe adam-wolfe added bug Something isn't working new The issue wasn't triaged yet labels Oct 14, 2024
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

@awharn awharn added priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases and removed new The issue wasn't triaged yet labels Oct 16, 2024
@t1m0thyj
Copy link
Member

This may be caused by an issue in the markdown-it dependency: markdown-it/markdown-it#1058

@sosadchuk
Copy link

Hi, may I add a similar issue here, or should I create a standalone item?

We have our links containing dashes escaped by the web help handler in a way they both look incorrect, and lead to 404 when following them:
https://docs.zowe.org/stable/web_help/?p=zowe_dbm-db2

Reproducible in Zowe CLI 8.8.0
image

@t1m0thyj
Copy link
Member

@sosadchuk I believe this is the same issue caused by markdown-it not parsing MD-escaped URLs correctly. Thanks for reporting it 😋 Older versions of markdown-it stripped out the backslashes but we can't downgrade as they have a security vulnerability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Projects
Status: Low Priority
Development

No branches or pull requests

4 participants