Closed (fixed)
Project:
Search API OpenSearch
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jul 2023 at 00:05 UTC
Updated:
5 Sep 2023 at 22:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sidharth_soman commentedHi, I've made the required change in the 'url' property of the configForm in StandardConnector.php. Please test and review this patch.
Comment #3
kim.pepper@sidharth_soman thanks for your patch. This will only affect the default value that is set in the form.
We want to trim the value entered by the user, before it gets saved.
Comment #7
keshavv commentedThank you For the #2 patch. But I think #2 Patch is not needed as
rtrim()is already there in the submit handler. It will trim the URL while submitting the form.I have created an MR and changed
rtrim()totrim()So that it will remove whitespace from both sides.Please review the MR.
Thank you.
Comment #8
mariamk commentedTested the patch and it worked. I suggest another reviewer confirm since I'm still new.
Comment #9
kim.pepperSee https://www.php.net/manual/en/function.trim.php
Comment #11
sourabhjainComment #12
kim.pepperMerged to 2.x. Thanks!