Skip to content
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

Fix the rgxp=>httpurl implementation #2704

Merged
merged 1 commit into from
Jan 29, 2021
Merged

Conversation

leofeyer
Copy link
Member

Q A
Fixed issues Fixes #2629
Docs PR or issue -

This PR fixes the rgxp=>httpurl implementation, which was missing a couple of checks. It also uses the new rgxp for all fields that expect an absolute URL (see #2629).

I am not a big fan of having class constants for 2 of 10 rgxp options, though. Either all or none. @contao/developers WDYT?

@leofeyer leofeyer added the bug label Jan 29, 2021
@leofeyer leofeyer added this to the 4.11 milestone Jan 29, 2021
@leofeyer leofeyer requested a review from a team January 29, 2021 14:22
@leofeyer leofeyer self-assigned this Jan 29, 2021
@leofeyer leofeyer linked an issue Jan 29, 2021 that may be closed by this pull request
@fritzmg
Copy link
Contributor

fritzmg commented Jan 29, 2021

I am in favour of constants for everything. Not sure where to put them though.

@leofeyer leofeyer merged commit e96c620 into contao:4.11 Jan 29, 2021
@leofeyer leofeyer deleted the fix/http-url branch January 29, 2021 15:34
AlexejKossmann pushed a commit to AlexejKossmann/contao that referenced this pull request Apr 6, 2021
Description
-----------

| Q                | A
| -----------------| ---
| Fixed issues     | Fixes contao#2629
| Docs PR or issue | -

This PR fixes the rgxp=>httpurl implementation, which was missing a couple of checks. It also uses the new rgxp for all fields that expect an absolute URL (see contao#2629).

I am not a big fan of having class constants for 2 of 10 rgxp options, though. Either all or none. @contao/developers WDYT?

Commits
-------

bdf66f7 Fix the rgxp=>httpurl implementation
@asaage asaage mentioned this pull request Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

validation of comment form website-field
2 participants