issue with medianames

Found a bug? Tell us!!
Post Reply
emwede
Regular
Posts: 58
Joined: Thu Jun 22, 2006 10:38 am
Contact:

issue with medianames

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: issue with medianames

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
emwede
Regular
Posts: 58
Joined: Thu Jun 22, 2006 10:38 am
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
emwede
Regular
Posts: 58
Joined: Thu Jun 22, 2006 10:38 am
Contact:

Post 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
Post Reply