Fix localPath2Url method in MyActionBase.