зеркало из https://github.com/mozilla/pjs.git
Bug 83065: Only send leaf file name instead of full path on file upload, r=havill@redhat.com/pollmann@netscape.com, sr=mscott@netscape.com, a=drivers@mozilla.org
This commit is contained in:
Родитель
40c6f1e3c1
Коммит
664d9dc77a
|
@ -111,7 +111,7 @@ protected:
|
||||||
nsresult ProcessValue(nsIFormProcessor& aFormProcessor, nsIFormControlFrame* aFrameControl, const nsString& aName, nsString& aNewValue);
|
nsresult ProcessValue(nsIFormProcessor& aFormProcessor, nsIFormControlFrame* aFrameControl, const nsString& aName, nsString& aNewValue);
|
||||||
nsresult ProcessAsURLEncoded(nsIFormProcessor* aFormProcessor, PRBool aIsPost, nsString& aData, nsIFormControlFrame* aFrame);
|
nsresult ProcessAsURLEncoded(nsIFormProcessor* aFormProcessor, PRBool aIsPost, nsString& aData, nsIFormControlFrame* aFrame);
|
||||||
nsresult ProcessAsMultipart(nsIFormProcessor* aFormProcessor, nsIFileSpec*& aMultipartDataFile, nsIFormControlFrame* aFrame);
|
nsresult ProcessAsMultipart(nsIFormProcessor* aFormProcessor, nsIFileSpec*& aMultipartDataFile, nsIFormControlFrame* aFrame);
|
||||||
static const char* GetFileNameWithinPath(char* aPathName);
|
PRUint32 GetFileNameWithinPath(nsString aPathName);
|
||||||
nsresult GetContentType(char* aPathName, char** aContentType);
|
nsresult GetContentType(char* aPathName, char** aContentType);
|
||||||
|
|
||||||
// i18n helper routines
|
// i18n helper routines
|
||||||
|
|
Загрузка…
Ссылка в новой задаче