Skip to content

Commit d5215fa

Browse files
committed
add urlencode
1 parent eef1105 commit d5215fa

File tree

4 files changed

+3
-55
lines changed

4 files changed

+3
-55
lines changed

.w3m/w3mplus/bin/cgi-bin/w3mplus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ addPrintCache () (
2828

2929
cat <<- EOF | httpResponseW3mBack.sh -
3030
W3m-control: PRINT ${tmp}
31-
W3m-control: GOTO file://${SCRIPT_NAME}?${QUERY_STRING}${QUERY_STRING:+&}file=$(printf '%s' "${tmp}" | urlEncode.sh)
31+
W3m-control: GOTO file://${SCRIPT_NAME}?${QUERY_STRING}${QUERY_STRING:+&}file=$(printf '%s' "${tmp}" | urlencode)
3232
EOF
3333
)
3434

.w3m/w3mplus/bin/location.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ case "${action}" in
7979
printRedirect.sh "${uri}" '' 'W3m-control: PREV_TAB'
8080
;;
8181
'sendEmail')
82-
printRedirect.sh "mailto:?body=$(printf '%s' "${uri}" | urlEncode.sh)"
82+
printRedirect.sh "mailto:?body=$(printf '%s' "${uri}" | urlencode)"
8383
;;
8484
'viewSource')
8585
printRedirect.sh "${uri}" '' 'W3m-control: VIEW'

.w3m/w3mplus/bin/urlEncode.sh

Lines changed: 0 additions & 53 deletions
This file was deleted.

.w3m/w3mplus/bin/urlencode

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
misc-tools/urlencode

0 commit comments

Comments
 (0)