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

Do not show the urlattr flag for rgxp url fields #3293

Merged
merged 1 commit into from Aug 12, 2021

Conversation

ausi
Copy link
Member

@ausi ausi commented Aug 11, 2021

When saving rgxp => url fields we add the urlattr flag in

case 'url':
$varInput = StringUtil::specialcharsUrl($varInput);

This pull request does the counterpart by removing it when the value is shown to the user.

Related: https://community.contao.org/de/showthread.php?81418

@ausi ausi added the bug label Aug 11, 2021
@ausi ausi added this to the 4.9 milestone Aug 11, 2021
@ausi ausi self-assigned this Aug 11, 2021
@leofeyer leofeyer merged commit 0620935 into contao:4.9 Aug 12, 2021
@leofeyer
Copy link
Member

Thank you @ausi.

ausi added a commit to ausi/contao-contao that referenced this pull request Aug 17, 2021
Description
-----------

When saving `rgxp => url` fields we add the `urlattr` flag in https://github.com/contao/contao/blob/6a676204294a2613013bfb88a1be8d4247ac2254/core-bundle/src/Resources/contao/library/Contao/Widget.php#L983-L984

This pull request does the counterpart by removing it when the value is shown to the user.

Related: https://community.contao.org/de/showthread.php?81418

Commits
-------

c7fd006 Do not show the urlattr flag for rgxp url fields
leofeyer pushed a commit that referenced this pull request Aug 20, 2021
Description
-----------

Backport of #3293

Commits
-------

505223b Do not show the urlattr flag for rgxp url fields (see #3293)

Description
-----------

When saving `rgxp => url` fields we add the `urlattr` flag in https://github.com/contao/contao/blob/6a676204294a2613013bfb88a1be8d4247ac2254/core-bundle/src/Resources/contao/library/Contao/Widget.php#L983-L984

This pull request does the counterpart by removing it when the value is shown to the user.

Related: https://community.contao.org/de/showthread.php?81418

Commits
-------

c7fd006 Do not show the urlattr flag for rgxp url fields
bezin pushed a commit to bezin/contao that referenced this pull request Nov 26, 2021
Description
-----------

When saving `rgxp => url` fields we add the `urlattr` flag in https://github.com/contao/contao/blob/6a676204294a2613013bfb88a1be8d4247ac2254/core-bundle/src/Resources/contao/library/Contao/Widget.php#L983-L984

This pull request does the counterpart by removing it when the value is shown to the user.

Related: https://community.contao.org/de/showthread.php?81418

Commits
-------

c7fd006 Do not show the urlattr flag for rgxp url fields
@ausi ausi deleted the fix/rgxp-url-urlattr-flag branch December 3, 2021 13:57
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.

None yet

3 participants