Page 1 of 1

issue with medianames

Posted: Thu Jun 22, 2006 10:42 am
by emwede
I just tried to upload a jpg file and give it the medialibryry name "this_is_anexample". Which did not work out too well. afte that I had an "object" instead of an jpg and the object was named .this - whilst in the directories on my linux machine everything was in the right place oviously the php code does not realy like filenames starting with this_is_ - I assume.

Re: issue with medianames

Posted: Thu Jun 22, 2006 10:50 am
by garvinhicking
Hi!

This works here fine, tested with Serendipity 1.1-alpha7.

Please tell me the s9y version you're using, which exact steps you took and where you see "object"?

Best regards,
Garvin

Posted: Thu Jun 22, 2006 1:32 pm
by emwede
Hi Garvin,

I'm using 1.0 on php PHP 4.3.10-16 and Apache 2.2 / debian Linux sarge (no official php5 support yet).

The Exact Steps were:
  • klick on "Mediendatei hinzufügen"
    Browsing for file Named mod.www.jpg
    "Datei speichern mit Name": "this_is_Anexample"
    "In diesem verzeichnis ablegen": "Layout-Bilder" (Subdir of "Stammverzeichnis")
    inadvertently click on "Mehr Bilder hinzufügen"
    leaving fields of second picture empty
    Click on "Los"

    After message about succesfull saved file

    Click on "Mediendatenbank"

    I saw a picture of an yelowish cube seen from one of the top corners centered on the image teh subtitle was "Orig: Object"
    on the upper left corner I saw the text .this
Don't hesitate to ask further questions.

Posted: Thu Jun 22, 2006 1:57 pm
by garvinhicking
Hi!

Hm, that's strange, I can't reproduce that here. Does the same thing happen if you do not click on "Add more Images"?

Which browser are you using?

Can you check if it also happens if you only upload a file "mod.jpg"? (without the double ".")

Best regards,
Garvin

Posted: Sun Jun 25, 2006 9:13 pm
by emwede
>>Hm, that's strange, I can't reproduce that here. Does the same thing happen if you do not click on "Add more Images"?
definetly YES
>>Which browser are you using?
Was in firefox that time when the bug occured.
>>Can you check if it also happens if you only upload a file "mod.jpg"? (without the double ".")
no definetly worked fine when I ommited anything that seemes strange to me which was the .. as well as teh "this_" stuff.

regards
Michael