You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If my path value in a folder collection contains a ../ github throws a "Malformed path tree" API error during page creation. This does not happen when using a local backend.
For example, my collection in config.yml:
Looking at the payload getting sent to github shows that the tree path is hugosite/content/en/../en/test/_index.md. I believe the ../ needs to be resolved before the final string is constructed and sent to github.
Describe the bug
If my path value in a folder collection contains a
../
github throws a "Malformed path tree" API error during page creation. This does not happen when using a local backend.For example, my collection in config.yml:
Looking at the payload getting sent to github shows that the tree path is
hugosite/content/en/../en/test/_index.md
. I believe the../
needs to be resolved before the final string is constructed and sent to github.And github returns the error: "tree.path contains a malformed path component"
To Reproduce
../
Applicable Versions:
The text was updated successfully, but these errors were encountered: