Permalink
Browse files

Fix decoding URLs

  • Loading branch information...
1 parent a80ff87 commit c0bdf9b971e894bb31ea3bed5c49b93b55cc9d71 @tpope committed Jan 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/foreplay.vim
View
@@ -732,7 +732,7 @@ function! s:decode_url(url) abort
let url = substitute(url, '^\%(jar:\)\=file:\zs/\ze\w:/', '', '')
let url = substitute(url, '^file:', '', '')
let url = substitute(url, '^jar:\(.*\)!/', 'zip\1::', '')
- let url = substitute(url, '%\(\x\x\)', '\=eval(''"\x''.submatch(1).''"'')', '')
+ let url = substitute(url, '%\(\x\x\)', '\=eval(''"\x''.submatch(1).''"'')', 'g')
return url
endfunction

0 comments on commit c0bdf9b

Please sign in to comment.