Change escape(this.value) and encode(this.value) calls in checkUrl attributes
to encodeURIComponent(this.value). Escape is not sufficient, as it does not encode +. Function encode() in hudson-behavior.js is ok, but we can just use a standard javascript function instead. Marked encode() as deprecated. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21546 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录