- Issue created by @mrdrewkeller
- Status changed to Closed: works as designed
6 months ago 11:33am 8 July 2024 - π©πͺGermany dbielke1986
I would not take the absolute path to the template.json because it could be a security risk.
We should wait and take care of this issue in the core:https://www.drupal.org/project/drupal/issues/1792310 π Wrong DRUPAL_ROOT with non-standard code structure RTBC
- First commit to issue fork.
- Status changed to Needs review
4 months ago 3:55pm 28 August 2024 - Assigned to vincent.hoehn
- π©πͺGermany dbielke1986
@vincent
Can you take a look at the MR, please?
It makes sense to me if the full path is passed at this point, as this is also checked in validate.In *.js, only the path is taken from the input, without the Drupal.root.
Can you check again whether this is perhaps the reason why it is not always pulled directly?But I'm not 100% sure, hence the question.
- π©πͺGermany vincent.hoehn Dresden, Germany
Hi @mrdrewkeller, can you please install the dev release and check if this fixes your issue?