devote / HTML5-History-API

HTML5 History API expansion for browsers not supporting pushState, replaceState
http://spb-piksel.ru
MIT License
1.02k stars 182 forks source link

Links with href="/" not working in ie <= 9 #33

Closed Shemahmforash closed 11 years ago

Shemahmforash commented 11 years ago

The link in the following sample code (with the updated history.js file from github) does not work in Internet Explorer <= 9. Although, if I do not include the history.js it works as expected.

<!doctype html> 
<html>
    <body>
        <a href="/">Homepage</a>
        <script src="history.js"></script>
    </body>
</html>

On the other hand, the following sample code works without problems:

<!doctype html> 
<html>
    <body>
        <a href="/test/">Test</a>
        <script src="history.js"></script>
    </body>
</html>

The problem only appears when we have href="/" in the link.

devote commented 11 years ago

Hi, I fixed it now!!

Thanks for report!

Shemahmforash commented 11 years ago

It works fine now. Thanks a lot for fixing the problem so quickly.