Browse files

check for ./ in the urls, thanks to Boštjan of edit-my-pictures.com f…

…or the QA
  • Loading branch information...
1 parent 558b9e3 commit 3269972aa8798cc7404f4fb9c07f0742c30f7ac9 Stoyan Stefanov committed Mar 17, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 toAbs/absolute.html
View
5 toAbs/absolute.html
@@ -38,6 +38,8 @@
'dir/image.png',
'/dir/image.png',
'dir/../image.png',
+ './image.png',
+ './dir/image.png'
];
var i, j, td, tr, t = document.getElementsByTagName('table')[0];
@@ -88,6 +90,9 @@
}
delete lparts[i];
}
+ if(lparts[i] === '.') {
+ delete lparts[i];
+ }
}
// remove deleted

0 comments on commit 3269972

Please sign in to comment.