Text with back quotes are not rendered correctly

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
sadtechie
Posts: 6
Joined: Sat Sep 12, 2009 8:42 am

Text with back quotes are not rendered correctly

Post by sadtechie »

Hi there,

I am not sure whether this is a known issue, but I am running 2.6.3 and I have noticed that when an article contains back quotes, they are displayed as normal quotes in the front end.

For instance if I create an article with the text below:

for item in `find /home -name "*.log" -type file`; do echo rm -f $item;done

Forum users will end up seeing the command as:

for item in 'find /home -name "*.log" -type file'; do echo rm -f $item;done

So `string` is displayed as 'string'. Is this a known bug?

Many thanks

S.T.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Text with back quotes are not rendered correctly

Post by Thorsten »

Hi,

it's not a bug, it's "normal" behaviour due to security risks. A backtick can be harmful in some cases.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply