diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-08-01 23:32:23 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-08-15 03:48:43 +0200 |
commit | 89ad13eff45e7e9a21715ff1bba20327efeeef45 (patch) | |
tree | 44f907b9360b194ec50dc0acb5dddcd366710d55 | |
parent | 2e60fcb2815b85317ea5ee0911559a24d910d4f4 (diff) | |
download | tmp-89ad13eff45e7e9a21715ff1bba20327efeeef45.tar.gz |
fix: don't escaped URL but the plain text one
-rw-r--r-- | tmp.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ func main() { // Make target_URL into a safe URL safeTargetURL := url.QueryEscape(targetURL) safeTargetURL = strings.Replace(safeTargetURL, "%3A", ":", 1) - fmt.Println(safeTargetURL) + fmt.Println(targetURL) // curl -s 'http://is.gd/create.php?format=simple&url=www.example.com' // http://is.gd/MOgh5q |