Commit 0b790bc7 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Handle path with a space character

parent 2a4569af
...@@ -938,7 +938,7 @@ ...@@ -938,7 +938,7 @@
args = {}; args = {};
if (hash !== undefined) { if (hash !== undefined) {
split = hash.split('?'); split = hash.split('?');
command = split[0] || ""; command = decodeURIComponent((split[0] || "").replace(/\+/gm, "%20"));
query = split[1] || ""; query = split[1] || "";
} }
subhashes = query.split('&'); subhashes = query.split('&');
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>976.13727.43454.8226</string> </value> <value> <string>976.13992.3039.61525</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1559811855.94</float> <float>1559827800.58</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment