Skip to content

Conversation

chamhaw
Copy link

@chamhaw chamhaw commented Feb 8, 2023

It seems an inadvertent mistake for escaping.

@bradrydzewski
Copy link
Contributor

Great catch. I feel like there may be one more bug fix needed. Once we properly escape the reference it would prevent the subsequent scm.TrimRef call from working properly. I'm not sure if / how this would manifest into a bug, but it would be great to do some more research on this and maybe get some unit tests for the different scenarios. cc @d1wilko @tphoney

@chamhaw
Copy link
Author

chamhaw commented Apr 7, 2023

Can this bug be fixed?
@bradrydzewski @d1wilko @tboerger

@bradrydzewski
Copy link
Contributor

bradrydzewski commented Apr 7, 2023

@chamhaw this needs to be addressed before we can get this merged

Once we properly escape the reference it would prevent the subsequent scm.TrimRef call from working properly

I think it is a simple order of operations issue. trim before you encode and that probably resolves the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants