Update to 2.0 broke Stash (Bitbucket Server) functionality

Issue #4 resolved
Mikhail Dobrinin created an issue

For example, trying to open a link now takes you to the following URL:

http://server/projects/exp/repos/product/browse/data%5Chibernate.cfg.xml?at=1b8e7e9f7bb61e04f7667dbe087ffa62e1264b6a

Notice the %5c. So I think this may be a Windows-only issue introduced in the last tag.

Comments (7)

  1. Daniil Penkin staff

    Hi @mdobrinin, thank you for reporting this!

    Yes, seems that I broke something in handling file paths. I'm really sorry about that, will release a fix ASAP.

  2. Mikhail Dobrinin reporter

    Thanks for the quick response. This is a great tool. I was considering writing something like this because it's so useful, until I found that it already exists!

  3. Daniil Penkin staff

    I'm glad you enjoy it :) Thank you for your kind words!

    As for the bug, I found it. Shame on me, Path.toString() uses FileSystem.getSeparator() and I didn't test this version on Windows (shame x2). I'll fix it later today.

  4. Log in to comment