-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image building runs for a long time when a long image name is used and the tag contains an illegal character #39617
Conversation
0a2b463
to
4c953b9
Compare
Thanks @wanger26. This change looked good to me, but a test somewhere else in the project failed. A test added to
A single character (lower-case alpha or numeric) after a Note that the Do you want to try to address this issue? |
84f3a60
to
195fac7
Compare
@scottfrederick I can address the build issue as well as make the recommended adjustments. I am going to steal that test case too if you don't mind to make sure we get it right 💯 |
195fac7
to
49c8297
Compare
- Simplify regular expression checking for validity of Image Reference to fix Catastrophic Backtracking for long custom images with illegal characters in tag spring-projects#39246
49c8297
to
103a232
Compare
Update the regular expression used to parse Docker images references to prevent catastrophic backtracking when images names are long and the tag contains an illegal character. See gh-39617
Change Summary
Issue