Commit 1c50d2c6 authored by Kim Pepper's avatar Kim Pepper Committed by Kim Pepper
Browse files

Issue #3268709 by kim.pepper: Restrictive length filter on URL input

parent 2f260d4a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ class StandardConnector extends PluginBase implements OpenSearchConnectorInterfa
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state): array {
    $form['url'] = [
      '#type' => 'textfield',
      '#type' => 'url',
      '#title' => $this->t('OpenSearch URL'),
      '#description' => $this->t('The URL of your OpenSearch server, e.g. <code>http://127.0.0.1</code> or <code>https://www.example.com:443</code>. <strong>Do not include a trailing slash.</strong>'),
      '#default_value' => $this->configuration['url'] ?? '',