Modify

Opened 8 years ago

Closed 5 years ago

Last modified 4 years ago

#6481 closed defect (fixed)

wget can't handle '@' in password - affects ddns

Reported by: stel Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Kamikaze 8.09
Keywords: wget ddns Cc:

Description

wget can't handle '@' in password. here's the syntax from the ddns script.

wget -O - http://username:password@dynamic.zoneedit.com/auth/dynamic.html?host=host.domainname&dnsto=xx.xx.xx.xx

which is garnered from /usr/lib/ddns/services i.e. this line for the case above.

"zoneedit.com"          "http://[USERNAME]:[PASSWORD]@dynamic.zoneedit.com/auth/dynamic.html?host=[DOMAIN]&dnsto=[IP]
"

i only tested with zoneedit so i'm only passing on that example but i'm assuming the auth error is an http auth from seeing the '@' not as part of the password but as a delimiter. wget should put quotes around the password or scripts should. i tested that and it works i.e.

wget -O - http://username:'password'@dynamic.zoneedit.com/auth/dynamic.html?host=host.domainname&dnsto=xx.xx.xx.xx

i'm sure there's a workaround in one of the ddns scripts but the most obvious workaround is to not use '@' in your passwords.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.