Url creation for the search form should use Drupal functions

Created on 18 July 2023, 12 months ago

Problem/Motivation

When using multisites this module doesn't work.
Code should use Drupal functions whereever possible so Url generation works flawlessly.

Steps to reproduce

Have a multisite and use the search form (On a configured content type you should clikc "ChatGPT Content Generator") You wil be redirect to another site.

Proposed resolution

Use Drupal functions where possible, in this case "Url::fromUserInput()"

Remaining tasks

Review

πŸ› Bug report
Status

Needs review

Version

2.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Mschudders

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024