Skip to content

Correct invalid pattern for http URLs#4993

Merged
dragonstyle merged 1 commit into
mainfrom
bugfix/4964
Mar 28, 2023
Merged

Correct invalid pattern for http URLs#4993
dragonstyle merged 1 commit into
mainfrom
bugfix/4964

Conversation

@dragonstyle
Copy link
Copy Markdown
Collaborator

Both of these patterns are incorrect- they intend to match urls that start with http or https.

Fixes #4964

The LUA resource discovery is a new addition this release, so this represents a regression.

Thanks to @cderv for tracking down this issue!

@dragonstyle dragonstyle requested review from cderv and cscheid March 28, 2023 12:30
@dragonstyle dragonstyle added this to the v1.3 milestone Mar 28, 2023
Copy link
Copy Markdown
Member

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Glad I spent time to find this one - rather important !

We should probably add a test file with some remote resources (and data uris if not already) ?

Copy link
Copy Markdown
Member

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And correctly working for me on Windows now!

Thanks !

Both of these patterns are incorrect- they intend to match urls that start with http or https.

Fixes #4964

The LUA resource discovery is a new addition this release, so this represents a regression.
Copy link
Copy Markdown
Member

@cscheid cscheid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that looks correct to me too.

Should we do a more general review of our patterns to see if we have more instances of [] doing unexpected things?

@cderv
Copy link
Copy Markdown
Member

cderv commented Mar 28, 2023

Should we do a more general review of our patterns to see if we have more instances of [] doing unexpected things?

Probably. I did a quick search in VSCODE and I think these are the only ones. Double checking is often a good idea!

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.

quarto release candidate breaks on an image url

3 participants