[ https://issues.apache.org/jira/browse/CONNECTORS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240035#comment-13240035 ]
Karl Wright commented on CONNECTORS-430: ---------------------------------------- After fixing the above problems, I'm still getting errors. I improved the error output and now I see this: {code} [junit] Exception: Unexpected end of statement; unknown tokens: '['Symbol: var', 'Symbol: regexp', 'Punctuation: =', 'Regexp: http(s)?:\\/\\/([a-z0-9+!*(),;?&=\\$_.-]+(\\:[a-z0-9+!*(),;?&=\\$_.-]+)?@)?[a-z0-9+\\$_-]+(\\.[a-z0-9+\\$_-]+)*(\\:[0-9]{2,5})?(\\/([a-z0-9+\\$_-]\\.?)+)*\\/?(\\?[a-z+&\\$_.-][a-z0-9;:@()', 'Punctuation: &', 'Punctuation: %', 'Punctuation: =', 'Punctuation: +', 'Punctuation: \\', 'Punctuation: $', 'Symbol: _', 'Punctuation: .', 'Punctuation: -', 'Punctuation: ]', 'Punctuation: *', 'Punctuation: )', 'Punctuation: ?', 'Punctuation: (', 'Punctuation: #', 'Punctuation: [', 'Symbol: a', 'Punctuation: -', 'Symbol: z_', 'Punctuation: .', 'Punctuation: -', 'Punctuation: ]', 'Punctuation: [', 'Symbol: a', 'Punctuation: -', 'Symbol: z0', 'Punctuation: -', 'Int: 9', 'Punctuation: +', 'Punctuation: \\', 'Punctuation: $', 'Symbol: _', 'Punctuation: .', 'Punctuation: -', 'Punctuation: ]', 'Punctuation: *', 'Punctuation: )', 'Punctuation: ?', 'Regexp: ;\n var lines = editjob.seeds.value.split("\\n");\n var ... {code} It looks like the escaping of the large regular expression is incorrect, or the parsing of the regular expression is incorrect in the tester. Looking further... > 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