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 :
if you choose OK without doing anything, it should do nothing, but instead the following text is appended :
[file name]()
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]()
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 :
if you choose OK without doing anything, it should do nothing, but instead the following text is appended :
file name[file name]()
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]()
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.[C:\fakepath\askbot.gif](/en/upfiles/13069375968038733.gif).