Hi there!
When I try to enable RPC function for Transmission I get following error:
rpc-password: The value 'openmediavault' doesn't match the pattern '/^[^'"\\]+$/'.
Code
Error #0:
OMV\Json\SchemaValidationException: rpc-password: The value 'Ch0mik' doesn't match the pattern '/^[^'"\\]+$/'. in /usr/share/php/openmediavault/json/schema.inc:481
Stack trace:
#0 /usr/share/php/openmediavault/json/schema.inc(370): OMV\Json\Schema->checkPattern('Ch0mik', Array, 'rpc-password')
#1 /usr/share/php/openmediavault/json/schema.inc(297): OMV\Json\Schema->validateString('Ch0mik', Array, 'rpc-password')
#2 /usr/share/php/openmediavault/json/schema.inc(627): OMV\Json\Schema->validateType('Ch0mik', Array, 'rpc-password')
#3 /usr/share/php/openmediavault/json/schema.inc(395): OMV\Json\Schema->checkProperties(Object(stdClass), Array, '')
#4 /usr/share/php/openmediavault/json/schema.inc(285): OMV\Json\Schema->validateObject(Object(stdClass), Array, '')
#5 /usr/share/php/openmediavault/json/schema.inc(257): OMV\Json\Schema->validateType(Object(stdClass), Array, '')
#6 /usr/share/php/openmediavault/rpc/paramsvalidator.inc(59): OMV\Json\Schema->validate(Object(stdClass))
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(178): OMV\Rpc\ParamsValidator->validate('{"rpc-enabled":...')
#8 /usr/share/openmediavault/engined/rpc/transmissionbt.inc(381): OMV\Rpc\ServiceAbstract->validateMethodParams(Array, 'rpc.transmissio...')
#9 [internal function]: OMV\Engined\Rpc\TransmissionBt->setRpcSettings(Array, Array)
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#11 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setRpcSettings', Array, Array)
#12 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('TransmissionBt', 'setRpcSettings', Array, Array, 1)
#13 {main}
Alles anzeigen
Is it a bug? I tried multiple combinations and I think it should pass this regex... Any ideas how to fix it or bypass?
Thanks!
Kind regards,
Kokos