Changeset 17576 in webkit


Ignore:
Timestamp:
Nov 3, 2006 11:02:08 AM (17 years ago)
Author:
spadma
Message:

2006-11-01 ligman <joseph.ligman@nokia.com>

Reviewed by Sachin.
DESC: Use the EscapeUtils::EscapeDecodeL to remove escaped characters in the path.
http://bugs.webkit.org/show_bug.cgi?id=11348


  • ResourceLoader/src/FileTransaction.cpp: (CFileTransaction::ParseFileNameLC):
Location:
S60/trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebKit/ChangeLog

    r17569 r17576  
     12006-11-01  ligman  <joseph.ligman@nokia.com>
     2
     3        Reviewed by Sachin.
     4        DESC: Use the EscapeUtils::EscapeDecodeL to remove escaped characters in the path.
     5        http://bugs.webkit.org/show_bug.cgi?id=11348
     6       
     7        * ResourceLoader/src/FileTransaction.cpp:
     8        (CFileTransaction::ParseFileNameLC):
     9
    1102006-11-02  spadma  <Sachin.Padma@nokia.com>
    211
  • S60/trunk/WebKit/ResourceLoader/src/FileTransaction.cpp

    r16638 r17576  
    4747#include "UrlResponseHeaderInfo.h"
    4848#include <Uri16.h>
     49#include <EscapeUtils.h>
    4950#include <apmrec.h>
    5051#include <apgcli.h>
     
    401402                }
    402403            }
    403         fileNamePtr.Append( path );
     404
     405        HBufC* fileUriPath = NULL;
     406        TRAP_IGNORE(fileUriPath = EscapeUtils::EscapeDecodeL(path));   
     407
     408        if (fileUriPath)
     409            {
     410            fileNamePtr.Append(*fileUriPath);   
     411            }
     412        else
     413            {           
     414            fileNamePtr.Append(path);
     415            }       
     416
     417        delete fileUriPath;
     418
    404419        // fix slashes
    405420        for( TInt i = 0; i < fileNamePtr.Length(); i++ )
Note: See TracChangeset for help on using the changeset viewer.