-
Notifications
You must be signed in to change notification settings - Fork 19
context.request.path & context.request.url are incorrect for subdirectory strains #254
Comments
correct. I think that the I think the problem is similar to HttpServletRequest.getPathInfo() in java. so we should probably add this. so for a request to
1 I would move/duplicate this in the |
quick fix would be to use the @trieloff WDYT? |
if the request to a directory, the request to
|
…ect for subdirectory strains fixes #254
🎉 This issue has been resolved in version 1.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Related to adobe/helix-simulator#186.
I believe the
context.request.path
andcontext.request.url
variables need to be updated to handle subdirectories.Example Strain
variable values:
context.request.path
=/contributor/docs/help/introduction.html
context.request.url
=/contributor/docs/help/introduction.html
action.request.params.path
=/help/introduction.md
action.request.params.rootPath
=/contributor/docs
I believe the
context.request.path/url
should be/contributor/docs/introduction.html
.action.request.params.path
might also be wrong. Not sure if it should include the/help
part.The text was updated successfully, but these errors were encountered: