Skip to content

Conversation

@katzy687
Copy link

@katzy687 katzy687 commented Jan 8, 2023

Issue with nested dir and file extractor, added more exact regex match pattern

sample url with nested folder:
http://192.168.85.26/api/v4/projects/2/repository/files/ansibletest%2Fhello_world.yml/raw?ref=test-branch

was resolving ansibletest/hello_world.yml as file name when trying to extract name from url, which would crash flow when driver tries to open file

'X-Gitlab-File-Name' header is easy exact match from header step for gitlab provider and shouldn't break anything else to just have extra pattern to check

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