fixes uri decoding for `requestUri`. encode resource path in webeditor