Changeset 43649 in webkit


Ignore:
Timestamp:
May 13, 2009 12:13:09 PM (15 years ago)
Author:
kov@webkit.org
Message:

2009-05-13 Stephan Haller <nomad@froevel.de>

Reviewed by Gustavo Noronha.

Wrong handling of file upload if no file selected
https://bugs.webkit.org/show_bug.cgi?id=25649

Fixed returned path if path is empty

  • WebCore/platform/gtk/FileSystemGtk.cpp:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r43646 r43649  
     12009-05-13  Stephan Haller  <nomad@froevel.de>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        Wrong handling of file upload if no file selected
     6        https://bugs.webkit.org/show_bug.cgi?id=25649
     7
     8        Fixed returned path if path is empty
     9
     10        * WebCore/platform/gtk/FileSystemGtk.cpp:
     11
    1122009-05-13  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/WebCore/platform/gtk/FileSystemGtk.cpp

    r43241 r43649  
    181181String pathGetFileName(const String& pathName)
    182182{
     183    if (pathName.isEmpty())
     184        return pathName;
     185
    183186    char* tmpFilename = filenameFromString(pathName);
    184187    char* baseName = g_path_get_basename(tmpFilename);
Note: See TracChangeset for help on using the changeset viewer.