Corrected comments diff

Lance Levsen <lance-8fVGZEMlguYsA/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
As per Michael's suggestion a unified diff using
tool.urlencode_text(entry['file_path']).

Cheers,
lance

-- 
Lance Levsen,
Catprint Computing
Tel:  (306) 493-2249
Cell: (306) 230-8783
Blog: http://www.catprint.ca/blog/
SaskBlogs: http://saskblogs.catprint.ca/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Pyblosxom-devel mailing list
Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
comments.diff (text/plain, 567 B)
--- /home/lance/Desktop/Source_Code/pyblosxom/contrib/plugins/comments/plugins/comments.py	2007-11-15 09:10:05.000000000 -0600
+++ comments.py	2007-11-16 09:50:12.000000000 -0600
@@ -507,8 +507,8 @@
     else:
         email = escape_SMTP_commands(clean_author(comment['email']))
 
-    try:
-        curl = config['base_url']+'/'+entry['file_path_urlencoded']
+    try: 
+        curl = config['base_url']+'/'+tools.urlencode_text(entry['file_path'])
         comment_dir = os.path.join(config['comment_dir'], entry['absolute_path'])
 
         # create the message
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHPb29WSOc2vLaecgRAqJiAJY/KGXHuYiFIcQd7wOxwlFqGSixAKDV+kDg
obGP9DvxdbMlvKvMlzmD6w==
=mMb2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.