On May 6, 2011, at 3:46 PM, Kristian Kielhofner wrote: > What about editing the file and wrapping the variable using 'single quotes'?
While that works for the shell, the web interface parses the rc.conf variables expecting double-quotes. Years ago, we could have standardized on single quotes, but even then single quotes need to be escaped if part of a password, not to mention using stripslashes() in PHP after the HTML POST. In general this is never an issue, except for passwords that others provide. We can provide a fix for this in the future. For user defined passwords we recommend "openssl rand -base64 33" or similar, to keep all the characters 'safe'. Lonnie > > On Fri, May 6, 2011 at 4:42 PM, Lonnie Abelbeck > <[email protected]> wrote: >> Izaak, >> >> Thanks for the report. >> >> The best solution for now is to... >> >> Network Tab -> User System Variables: { Edit User Variables } >> >> and then define: >> -- >> PPPOEPASS="12\$34\$abc" >> -- >> with the $'s escaped with a backslash '\'. >> >> Unfortunately, currently, this can't be directly done in the "PPPoE >> Password" field because a backslash '\' is treated special on a HTML POST. >> All solvable though. >> >> Lonnie > > > -- > Kristian Kielhofner ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
