Re: [Mailman-Users] Maximum template size?
"Mark Sapiro" <msapiro@value.net> wrote:
The problem is the non-substitution '%' characters in your template.
Ouch, this is another one of those "D'oh!" moments! Should have seen that, thanks for pointing it out. Is there a way to escape the "%" sign to prevent substitution? (I'm not very familiar with Python, have been a C programmer for 25 years.) Also, I was wondering, what is the reason for using the hex code "%40" instead of "@" in the URLs provided to users?
-- Carter Braxton cbraxton@iname.com (Note: Any ads appended here are from my email service.)
= AMP Violin Lessons on DVD Studio Lessons on DVD for Beginners and Intermediates. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=452d3305c117066abeb6338b...
Carter Braxton wrote:
"Mark Sapiro" <msapiro@value.net> wrote:
The problem is the non-substitution '%' characters in your template.
Ouch, this is another one of those "D'oh!" moments! Should have seen that, thanks for pointing it out. Is there a way to escape the "%" sign to prevent substitution? (I'm not very familiar with Python, have been a C programmer for 25 years.)
As I tried to indicate in my first reply, you escape the % by doubling it. I.e. A single % is an interpolation of some kind; a double %% is a literal %.
Also, I was wondering, what is the reason for using the hex code "%40" instead of "@" in the URLs provided to users?
It really isn't necessary to use %40 instead of @ in the user options URL. Mailman uses Python's urllib.quote() function to insure that various characters that can cause problems are represented as %xx codes. The urllib.quote() function encodes most non-alphanumeric characters although it is not necessary to do many of them.
In short, if you want to use @ rather than %40 in the user options URL in your text, that shouldn't be a problem.
The following URL types all work to retrieve the options (or options login) page for user@example.com.
http://www.example.com/mailman/options/user@example.com
http://www.example.com/mailman/options/user%40example.com
http://www.example.com/mailman/options/user--at--example.com
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Carter Braxton
-
Mark Sapiro