| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1f215f8 commit 35e8391
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -315,14 +315,14 @@ function create_classpath_jar() { | |||
| 315 | 315 | for path in ${CLASSPATH}; do | |
| 316 | 316 | # Loop through the characters of the path and convert characters that are | |
| 317 | 317 | # not alphanumeric nor -_.~/ to their 2-digit hexadecimal representation | |
| 318 | - if [[ ! $path =~ ^[-_.~/a-zA-Z0-9]*$ ]]; then | ||
| 318 | + if [[ ! $path =~ ^[-_.~/a-zA-Z0-9+]*$ ]]; then | ||
| 319 | 319 | local i c buff | |
| 320 | 320 | local converted_path="" | |
| 321 | 321 | ||
| 322 | 322 | for ((i=0; i<${#path}; i++)); do | |
| 323 | 323 | c=${path:$i:1} | |
| 324 | 324 | case ${c} in | |
| 325 | - [-_.~/a-zA-Z0-9] ) buff=${c} ;; | ||
| 325 | + [-_.~/a-zA-Z0-9+] ) buff=${c} ;; | ||
| 326 | 326 | * ) printf -v buff '%%%02x' "'$c'" | |
| 327 | 327 | esac | |
| 328 | 328 | converted_path+="${buff}" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments