[ 
https://issues.apache.org/jira/browse/CONNECTORS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235805#comment-13235805
 ] 

Karl Wright commented on CONNECTORS-430:
----------------------------------------

bq. I'm afraid not...

All tabs are coded so that either the displayed form element is output, or 
instead a corresponding hidden is output.  The web connector's tabs are no 
different.  The code is:

{code}
    if (tabName.equals(Messages.getString(locale,"WebcrawlerConnector.Seeds")))
    {
      out.print(
"<table class=\"displaytable\">\n"+
"  <tr><td class=\"separator\" colspan=\"2\"><hr/></td></tr>\n"+
"  <tr>\n"+
"    <td class=\"value\" colspan=\"2\">\n"+
"      <textarea rows=\"25\" cols=\"80\" 
name=\"seeds\">"+org.apache.manifoldcf.ui.util.Encoder.bodyEscape(seeds)+"</textarea>\n"+
"    </td>\n"+
"  </tr>\n"+
"</table>\n"
      );
    }
    else
    {
      out.print(
"<input type=\"hidden\" name=\"seeds\" 
value=\""+org.apache.manifoldcf.ui.util.Encoder.attributeEscape(seeds)+"\"/>\n"
      );
    }
{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


Reply via email to