Redmine wiki sql query
Added by Дмитрий Бабанов almost 14 years ago
Hello. Please, help me.
I use:
Redmine version 2.1.4
Ruby version 1.9.3
Rails version 3.2.8
Database MySQL
I want to use redmine plugin "Redmine wiki sql".
Description: http://www.redmine.org/plugins/redmine_wiki_sql
Plugins migrate succesful, SQL query succeeds.
But when i save Wiki-page, it show:
But, HTML-code page:
<p><table><tr><td>asd</td></tr></table><table><tr><th>id</th></tr><tr><td>1</td></tr><tr><td>2</td></tr></table></p>
So, SQL query succeeds, but "<" change to "<_;", and ">" to ">_;". ( _ - for clarity)
How can i change wiki to display a table??
P.S. sorry for my English.
Replies (3)
RE: Redmine wiki sql query
-
Added by Jan Niggemann (redmine.org team member) almost 14 years ago
The plugin page reads
Compatible with: Redmine 1.2.x
and the github repository has only 2 initial commits and a single fork.
You should contact the author of the plugin and check if it's compatible with 2.x...
Another thing worth mentioning is the huge security problem you open up by allowing the user arbitrary SQL queries...
RE: Redmine wiki sql query
-
Added by Ivan Cenov almost 14 years ago
RE: Redmine wiki sql query
-
Added by Дмитрий Бабанов almost 14 years ago
Thank you.