Skip to content

Commit

Permalink
Merge pull request #101 from UN-OCHA/develop
Browse files Browse the repository at this point in the history
v1.8.1
  • Loading branch information
orakili authored Dec 18, 2024
2 parents 4ac8a4b + 7938de3 commit bd199be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ocha_ai_chat/src/Plugin/Block/ChatPopup.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected function checkRiverUrl(string $url): bool {
* TRUE if the URL is valid.
*/
protected function checkReportUrl(string $url): bool {
return !empty($url) && preg_match('@^https?://reliefweb\.int/report/[^/]+/[^/]+$@', $url) === 1;
return !empty($url) && preg_match('@^https?://reliefweb\.int/(report|map)/[^/]+/[^/]+$@', $url) === 1;
}

}

0 comments on commit bd199be

Please sign in to comment.