2008-12-21 David Levin <levin@chromium.org>
[WebKit-https.git] / LayoutTests / http / tests / xmlhttprequest / resources / access-control-basic-preflight-cache.php
index 2cfbdae..ad6fd84 100755 (executable)
@@ -1,8 +1,7 @@
 <?php
 require_once 'portabilityLayer.php';
 
-$tempDir = sys_get_temp_dir();
-$tmpFile = $tempDir . $_GET['filename'];
+$tmpFile = ensureTrailingSlash(sys_get_temp_dir()) . $_GET['filename'];
 
 function fail()
 {