TheSourceUK / tridion-2011-power-tools

Automatically exported from code.google.com/p/tridion-2011-power-tools
0 stars 0 forks source link

Patch for /trunk/PowerTools.Model/Utils/TcmUri.cs #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Fixed a bug in Parse TcmUri method when checking for Regex Match.Groups

Original issue reported on code.google.com by janssen...@gmail.com on 6 Mar 2014 at 2:10

GoogleCodeExporter commented 8 years ago
Did you try this change? C# is zero-based when it comes to arrays, so I'd say 
your change would result in IndexOfOutRange exceptions.

Original comment by pkjaer....@gmail.com on 10 Mar 2014 at 12:23

GoogleCodeExporter commented 8 years ago
As mentioned, I believe this patch would break the parsing of URIs rather than 
help.
That said, we do appreciate the effort! If you ran into a problem that you were 
trying to fix with this patch, perhaps you could elaborate on the issue and we 
can find a solution together?

Original comment by pkjaer....@gmail.com on 10 Mar 2014 at 12:27