mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
URL encode "="
This commit is contained in:
@@ -85,7 +85,7 @@ function! fugitive#UrlDecode(str) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:UrlEncode(str) abort
|
function! s:UrlEncode(str) abort
|
||||||
return substitute(a:str, '[%#?&;+\<> [:cntrl:]]', '\=printf("%%%02X", char2nr(submatch(0)))', 'g')
|
return substitute(a:str, '[%#?&;+=\<> [:cntrl:]]', '\=printf("%%%02X", char2nr(submatch(0)))', 'g')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:PathUrlEncode(str) abort
|
function! s:PathUrlEncode(str) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user