Menu

ESCAPE=URL, this should work, right?

2001-03-05
2001-03-05
  • Jeroen Ruigrok van der Werven

    Hi,

    been using HTML::Template for some things now, and it has been working perfectly.

    Now, I was trying to use the ESCAPE=URL parameter like this:

    <A HREF="editcustomer.pl?edit=1&customer=<TMPL_VAR ESCAPE="URL" NAME="name">">Edit data</A>

    But this still leaves the expanded `name' variable with spaces instead of +'s for the spaces.  What obvious mistake am I making?
    This is when I am using HTML::Template 2.2 with Perl 5.003_05 on FreeBSD 4.2-STABLE.

    Thanks in advance,

    --Jeroen

     
    • Jeroen Ruigrok van der Werven

      Bah,

      of course I meant: perl 5.005_03.

       
    • Jeroen Ruigrok van der Werven

      And don't you love answering your own questions?

      Anyway, seems IE 5.5 on this NT box only encodes the URL _AFTER_ clicking on it.  w3m on my FreeBSD box shows it immediately.

      Gotta love timewasters like that.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.