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
I have an app using samlify and this module for the XML validator.
The following chdir call creates problems for my app since my app code subsequently reads other files from disk (example, Express view templates). After samlify processes a request, it no longer can find those. They're using relative paths, so I can probably make those absolute with __dirname for instance. But should this be restoring the previous working directory after validation? https://github.com/authenio/samlify-validate-with-xmllint/blob/master/index.ts#L8
Thanks!
The text was updated successfully, but these errors were encountered:
mastermatt
added a commit
to mastermatt/samlify-validate-with-xmllint
that referenced
this issue
Jan 6, 2023
Pass the absolute path of the XSD to `xmllint` instead of changing the cwd of the entire Node process.
Also updated .npmignore to include the index.d.ts and not double include the schamas in the pack.
Fixesauthenio#2, fixesauthenio#3
I have an app using samlify and this module for the XML validator.
The following
chdir
call creates problems for my app since my app code subsequently reads other files from disk (example, Express view templates). After samlify processes a request, it no longer can find those. They're using relative paths, so I can probably make those absolute with __dirname for instance. But should this be restoring the previous working directory after validation?https://github.com/authenio/samlify-validate-with-xmllint/blob/master/index.ts#L8
Thanks!
The text was updated successfully, but these errors were encountered: