pidgin/pidgin

dc08416b884f
Bring back the URL escaping code, but use a better character whitelist.

I realized we can still percent-encode some characters to guard against
URLs containing $(xterm) causing xterm to start on horrendously broken
systems. We just need to be better about what characters we escape. So
I brought back Tomasz's code, added a few characters to the allowed list,
and we now use the escaped URI when starting ALL browsers. Works fine for me.
/** @page cmd-signals Command Signals
@signals
@signal cmd-added
@signal cmd-removed
@endsignals
@see cmds.h
@signaldef cmd-added
@signalproto
void (*cmd_added)(const char *command, PurpleCmdPriority priority,
PurpleCmdFlag flag);
@endsignalproto
@signaldesc
Emitted when a new command is added.
@param command The new command.
@param priority The priority of the new command.
@param flag The command flags.
@endsignaldef
@signaldef cmd-removed
@signalproto
void (*cmd_removed)(const char *command);
@endsignalproto
@signaldesc
Emitted when a command is removed.
@param command The removed command.
@endsignaldef
*/