summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/HTTPParsers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/HTTPParsers.cpp')
-rw-r--r--WebCore/platform/network/HTTPParsers.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/network/HTTPParsers.cpp b/WebCore/platform/network/HTTPParsers.cpp
index e71be5f..0858fc9 100644
--- a/WebCore/platform/network/HTTPParsers.cpp
+++ b/WebCore/platform/network/HTTPParsers.cpp
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
- * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -103,7 +103,8 @@ bool parseHTTPRefresh(const String& refresh, bool fromHttpEquivMeta, double& del
String filenameFromHTTPContentDisposition(const String& value)
{
- Vector<String> keyValuePairs = value.split(';');
+ Vector<String> keyValuePairs;
+ value.split(';', keyValuePairs);
unsigned length = keyValuePairs.size();
for (unsigned i = 0; i < length; i++) {