Closed CrazyPandar closed 7 years ago
@CrazyPandar
EMQ_AUTH__HTTP__AUTH_REQ="http:\\/\\/192.168.128.30:12101\\/mqtt\\/auth"
Why are we closing this? IMO we should rather do sanitation instead of forcing people to escape forward slashes. Why not just do another sed -e 's/\//\\\//'
?
At least indicate somewhere that /
-s has to be escaped with \/
, I spent more than 2 hours finding it out, discussions in github tickets indicate different escape sequences, no other documentation is available or I was nat able to find it.
Please include the actual escape sequence in the documentation. If someone can comfirm that this is the right sequence and it's not working because of some kind of bug, I can submit a pull request updating the documentation.
run EMQ by docker with following command:
alll evnironments take effect within docker except auth.http.auth_req.params failed to be set.