This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 8e53920 Yet more URI decoding needed
8e53920 is described below
commit 8e539204edb952cd6125f9cb110f3e0edd77b7fe
Author: Sebb <[email protected]>
AuthorDate: Tue Oct 23 18:36:20 2018 +0100
Yet more URI decoding needed
---
www/secretary/workbench/views/parts.js.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/secretary/workbench/views/parts.js.rb
b/www/secretary/workbench/views/parts.js.rb
index 8807b79..6f05196 100644
--- a/www/secretary/workbench/views/parts.js.rb
+++ b/www/secretary/workbench/views/parts.js.rb
@@ -576,8 +576,8 @@ class Parts < Vue
event.preventDefault()
data = {
- source: @drag.split('/').pop(),
- target: href.split('/').pop(),
+ source: decodeURI(@drag.split('/').pop()),
+ target: decodeURI(href.split('/').pop()),
message: window.parent.location.pathname
}