Solved

Special characters not supported on terminal Linux

Posted on 2014-11-22
3
200 Views
Last Modified: 2014-11-23
hello

my error

root@sd-42495:/tmp/plowshare4# plowdown -a [b]'mymail@gmail.com:[/b]******' http://link.1fichier.com/
Starting download (1fichier): http://link.1fichier.com/
Starting login process: [b]mymail%40gmail.com/**********[/b]

Open in new window


@ I is replaced by %40 ?? Why

ty
0
Comment
Question by:hexo dark
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Expert Comment

by:andreas
ID: 40459879
Maybe its not a terminal issue maybe plowdown will replace it by %40

try following

echo "@"

it should return @ in the terminal

if its like this then plowdown does the conversion to %40.
0
 
LVL 19

Accepted Solution

by:
simon3270 earned 500 total points
ID: 40460027
It's the plowdown code which is converting the "@" to a "%40".

At line 1150 of the file /usr/local/share/plowshare4/core.sh in the version I've just downloaded is the line:

    USER=$(echo "${AUTH%%:*}" | uri_encode_strict)

That takes your username (the "mymail@gmail.com") and converts all non-alphanumeric characters to their "safe" equivalents.  It's the same process which converts spaces in URLs to %20, and the "://" in "http://aa.com" to "%3a%2f%2f".  Here it is converting "@" to "%40".

To avoid this, you'll need to edit /usr/local/share/plowshare4/core.sh and either change the above line to

    USER="${AUTH%%:*}"

or remove line 1032 (in the uri_encode_strict function):

     s/@/%40/g

I'd prefer the first fix.
0
 
LVL 2

Author Closing Comment

by:hexo dark
ID: 40461133
tx it works :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question