Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 733 of 796  Not logged in ELOG logo
    icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Tue Mar 6 15:54:23 2018 
In the attribe filed, HTML code is not allowed for security reasons. If you want to bypass this (on your own risk), put

allow html = 1

into your config file.
    icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Tue Mar 6 16:09:05 2018 
This tag does not change the behaviour, but I have noticed that I only have the problem in Chrome and Firefox but not in Internet explorer.

Matej




Stefan
    icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Wed Mar 7 15:15:27 2018 
So this is the result in the log file:

Opis: Test č Č
Attachment: 
    icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Thu Mar 15 09:39:20 2018 elog.pnglogfile.png
To conclude this topic, we sadly can't use the characters č and Č propperly in the application. I have marked the problems in the screenshots
below:

red square - the user name is changed immediately after saving. It is also written into the log file in the
    icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Fri Mar 16 12:46:09 2018 Screen_Shot_2018-03-16_at_13.00.25_.png
I had time to look at the problem in detail. I found that a &#xxx; sequence is not correctly identified as HTML code, and thus displayed in plain
when used in an attribute. I fixed it in the current git revision and now it looks find in attribute (see attachment). Can you give it a try? Please note
that you need "Allow HTML = 1" in your config file.
    icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Fri Mar 16 14:12:04 2018 
Great news Stefan! Please pardon my ignorance, but I was not able to "make" it. I have no idea how to run this on Windows where the current
POC log resides.  
    icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Fri Mar 16 14:35:05 2018 
Easiest is to install the Cywgin environment (www.cygwin.com) and there select the C compiler package which installs also "make".




Matej
Sedej wrote:



Great news Stefan! Please pardon my ignorance, but I was not able
    icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Fri Mar 16 15:39:17 2018 
Phew, made it, sort of. Had to copy the contents of the mxml folder from an older version, the folder was empty in this git. I also had to change the
SSL to 0 and then it compiled without errors plus I had to copy the cygwin1.dll to the folder to make the service run.

So yes, I can confirm that manually inputting the Č in the attribute field now works correctly. Excellent! This solves the pink problem
ELOG V3.1.5-2eba886