As to whether or not that's right, I personally think it's reasonable. Most all countries seek to enforce their laws regardless of location, especially when they deem a serious crime was committed against them.
This is not “robbed a bank in country X and then fled to Y”, which is what international law-enforcement cooperation was built for. This is like “copied Windows in a country where piracy is legal”. It’s a massive overreach by US and Canada, but then again, they are not new to this (see Kim Dotcom et al).
Similarly, if you commit a major crime against Canadian law and visit Canada, they can arrest you for it. And if you also committed a crime against US law, the US can petition for you to be extradited after the Canadians arrest you.
I fear I don't understand where the overreach is. I've clearly missed an important and nuanced detail. Can you help me?
International law is never simple - although I suppose having the biggest stick might drive people to ignore certain nuances.