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

Use non absolute url's #711

Closed
wants to merge 2 commits into from
Closed

Use non absolute url's #711

wants to merge 2 commits into from

Conversation

attiks
Copy link
Contributor

@attiks attiks commented Jan 19, 2024

No description provided.

@attiks attiks requested a review from rupl January 19, 2024 14:41
Copy link

Coverage Report

Totals Coverage
Statements: 44.07% ( 1567 / 3556 )
Methods: 26.14% ( 23 / 88 )
Lines: 44.52% ( 1544 / 3468 )

Copy link

Build output

Composer Validate `success`

PHP Lint `success`

Docker Build `success`

Environment Setup `success`

Site Install `success`

PHP Code Sniffer `success`

Software Versions

```PHP 8.2.14 (cli) (built: Dec 21 2023 20:19:50) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.14, Copyright (c) Zend Technologies
with Zend OPcache v8.2.14, Copyright (c), by Zend Technologies
with Xdebug v3.3.0, Copyright (c) 2002-2023, by Derick Rethans
Composer version 2.6.6 2023-12-08 18:32:26
```

Pusher: @attiks, Action: `pull_request`, Workflow: `Run tests``;

if ($paragraph->hasField('field_text') && isset($variables['content']['field_text'][0]['#text'])) {
$local_domains = [
'response.reliefweb.int',
];
Copy link
Contributor

Choose a reason for hiding this comment

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

It feels like this array is redundant since the config includes the domain allow-list. Should we be pulling from field settings to get this, or leave it hardcoded?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@attiks attiks closed this Jan 22, 2024
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