Jesse

Anonymous
When post some code, I found geeklog auto removed some characters.

E.g, I post code below on my site,

rewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.html HTTP/
rewriteRule ^index.html$ http://blog.chinawebmasterworld.com/ [R=301,L]

Finally what I saw is this:
rewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.html HTTP/
rewriteRule ^index.html$ http://www.yoursite.com/ [R=301,L]

Lost 3 , I've tried many times, hut same result. How to fix it? Thanks!

Example article on my site: http://blog.chinawebmasterworld.com/main/article.php/20050722032047521




Jesse

Anonymous
this forum is same to my site, it also removed some "slash" from the code.
Filter?

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
If you want to post code you should use the code tags:

Text Formatted Code
 this will not be stripped
 


The reason for this is that you otherwise open yourself to security issues.

Best Regards,
Boris
Vanrillaer.com - our Family Portal

Jesse

Anonymous
I have already used "code" tags when post code.
But still lost "/" , no use.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Geeklog is notoriously bad with a few special characters, especially the backslash and the ampersand. Try writing two backslashes to get one ...

bye, Dirk

Jesse

Anonymous
Hehe, I dont know that, Dirk. I've tried to type 2 and 3 backslashes, but still missing.
I will try to find other way to solve this.

Status: offline

idom

Forum User
Newbie
Registered: 10/13/03
Posts: 10
I have tryed it and it functions: I have the article as html formatted and I have included the paragraph with the backslash in code and end code tag with [], then I have written 2 backslash instead 1