First time here? Check out the FAQ!

Revision history  [back]

Thanks Evgeny. No problem for the technical detail. On my side, Askbot is set up on Redhat 5.5 with mysql and apache.

I have understood what happens.

First, the configuration for file extensions allowed is the same for images and attachments. I was expecting no limitation for attachments. I need to give the possibility to attach log files for instance, but it is not relevant for images. This is the case on askbot.org with doc files. Do you see a reason to limit file extensions for attachments, except the reuse of the function?

Second, there are minor bugs in the attachment pop-up :

  1. if you choose OK without doing anything, it should do nothing, but instead the following text is appended : [file name]()

  2. if you choose a file not allowed (in my example test.txt located in D:\tmp\test.txt on my machine), then you choose OK, the following text is appended : [C:\fakepath\test.txt]()

  3. if you choose a file allowed (for instance askbot.gif), the file is uploaded, then you choose another file not allowed, the error message listing allowed extension does not appear, then you choose ok. The result is the following line appended : [C:\fakepath\askbot.gif](/en/upfiles/13069375968038733.gif).

Thanks Evgeny. No problem for the technical detail. On my side, Askbot is set up on Redhat 5.5 with mysql and apache.

I have understood what happens.

First, the configuration for file extensions allowed is the same for images and attachments. I was expecting no limitation for attachments. I need to give the possibility to attach log files for instance, but it is not relevant for images. This is the case on askbot.org with doc files. Do you see a reason to limit file extensions for attachments, except the reuse of the function?

Second, there are minor bugs in the attachment pop-up :

  1. if you choose OK without doing anything, it should do nothing, but instead the following text is appended : [file name]()file name

  2. if you choose a file not allowed (in my example test.txt located in D:\tmp\test.txt on my machine), then you choose OK, the following text is appended : [C:\fakepath\test.txt]()C:\fakepath\test.txt

  3. if you choose a file allowed (for instance askbot.gif), the file is uploaded, then you choose another file not allowed, the error message listing allowed extension does not appear, then you choose ok. The result is the following line appended : [C:\fakepath\askbot.gif](/en/upfiles/13069375968038733.gif).C:\fakepath\askbot.gif.