[ https://issues.apache.org/jira/browse/CONNECTORS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238501#comment-13238501 ]
Erlend Garåsen commented on CONNECTORS-430: ------------------------------------------- Is the replace command supported by the browser simulator? I found a problem while testing my changes. Leading and trailing spaces should be removed in order to avoid URL formatted white spaces in the hidden seeds field. Otherwise, an annoying alert box pops up if you first enter a blank line in the seeds list, select another tab and then tries to select another tab again. The following seems to work inside my function: {code} editjob.seeds.value = editjob.seeds.value.replace(/^\s*/, "").replace(/\s*$/, ""); {code} > An error should be returned if invalid seeds are typed into the seeds list > for the web connector > ------------------------------------------------------------------------------------------------ > > Key: CONNECTORS-430 > URL: https://issues.apache.org/jira/browse/CONNECTORS-430 > Project: ManifoldCF > Issue Type: Improvement > Components: Web connector > Affects Versions: ManifoldCF 0.1, ManifoldCF 0.2, ManifoldCF 0.3, > ManifoldCF 0.4, ManifoldCF 0.5 > Reporter: Erlend Garåsen > Assignee: Erlend Garåsen > Priority: Minor > Fix For: ManifoldCF 0.6 > > Attachments: CONNECTORS-430.patch > > > If you create a job for the web connector and enter an invalid URL into the > seeds list, any value is accepted. An error message should be returned to the > user in order to prevent invalid seeds. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira