Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon6.gif   elog hanged when uploading photo failed, posted by Xuan Wu on Wed Feb 27 02:34:46 2019 log.png
    icon2.gif   Re: elog hanged when uploading photo failed, posted by Stefan Ritt on Tue Mar 5 20:48:51 2019 
       icon2.gif   Re: elog hanged when uploading photo failed, posted by Xuan Wu on Wed Mar 6 05:10:28 2019 
       icon3.gif   Re: elog hanged when uploading photo failed, posted by Xuan Wu on Wed Oct 16 13:20:31 2019 error.png
Message ID: 69044     Entry time: Wed Oct 16 13:20:31 2019     In reply to: 68906
Icon: Idea  Author: Xuan Wu  Author Email: wux@ihep.ac.cn 
Category: Bug report  OS: Linux  ELOG Version: 3.1.3 
Subject: Re: elog hanged when uploading photo failed 

Hi all,

I've found a bug in elog. It's all right that uploading an image which file name with special characters. I think it must have something to do with the code like"url_encode(file_enc, sizeof(file_enc));  /* for file names with special characters like "+" */". If I clicked the "Make small/Make larger/Original size/Rotate left/Rotate right" button, the elog server will hang. How it can be fixed? The attached image shows the debug info.

Xuan

Stefan Ritt wrote:

The problem is you have some weird characters in your file name R2BLM15 ? ? ? ? ? .PNG which confuses the interpreter. There should not be any special character or blanks in attached images.

Stefan

Xuan Wu wrote:

Hi all,

  We came across a problem recently when clicking "Upload" button, then elog hanged and never being accessed. I have checked the elog logs and find that it seems that elog didn't get the path of the picture for some reason. So is it a bug or our operation isn't correct?

 

 

Attachment 1: error.png  19 kB  Uploaded Wed Oct 16 14:30:32 2019  | Hide | Hide all
error.png
ELOG V3.1.5-fe60aaf