in

dashCommerce

An ASP.NET Open Source e-Commerce Application

ImagePicker.aspx Case Sensitivity

Last post 03-04-2008 9:30 AM by joe.davis. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-03-2008 5:50 PM

    ImagePicker.aspx Case Sensitivity

    I have a production site which is not allowing images to uploaded via the ImagePicker.aspx page if the files extension is not lowercase. I know the "easy" thing to do would be to tell the customer to put everything lowercase. I am hoping that someone has run across this before and knows how to fix it. I have experimented a bit with the ImagePicker.aspx page but I haven't figured out how to fix it.

    When you try to upload an image with an extension that is now entirely in lowercase, the app displays the valid file extensions in red under the upload textbox.

    Please Help!!

    Thanks,
    Joe

  • 03-03-2008 9:56 PM In reply to

    Re: ImagePicker.aspx Case Sensitivity

    Interesting when you look in that file

    Line 112

    if (ext.ToLower() == AcceptedFileTypes[|i|].ToLower()) {
    return true;
    }

    It looks like it does just that.

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 03-04-2008 9:30 AM In reply to

    Re: ImagePicker.aspx Case Sensitivity

    I thought so at first but changing those lines or even commenting them out completely did nothing.

    I am using the VB version by the way.

    Thanks,
    Joe

Page 1 of 1 (3 items)