Code: Select all
'userid' is not recognized as an internal or external command,
operable program or batch file.
'rsstoken' is not recognized as an internal or external command,
operable program or batch file.
The exact same nzb file when dropped into the Watched folder does not cause these errors.
The exact same release from a different indexer does not cause these errors.
I think the problem has to do with the Post Processing Fail URL value being supplied by this indexer.
The command line being passed to execute my post proc script looks normal up to the last parameter...
https://xxxxxx.xxx/failed/?guid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & userid=xxxxx & rsstoken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
*edited... further tests have shown that the GUID value is sent with a space not an equals sign, this I can fix by combining parm8 and parm9.
This is why my batch file is trying to interpret the 'userid' and 'rsstoken' as commands. Windows Command Process treat & as a seperator between multiple commands to be executed.
Imagine if the Fail URL ended with " & DEL *.*" or " & FORMAT C:\" instead of " & userid=xxxxx"
Can SAB do anything to protect against parameter values that include spaces which would cause a downstream process to handle them incorrectly?