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

Uwe Schindler commented on SOLR-5234:
-------------------------------------

This might be a possibility, but {{/etc/passwd}} is also a text file :-) ! We 
have to differentiate here between the two factors: "who" calls openResource 
for "what". If "who" is *not* coming from the network (e.g. it' triggered by a 
filename received via REST API), it is fine to load text files. But not if a 
velocity template tries to load {{/etc/passwd}} and send it to the client or if 
a input file xincludes some content.
Also the "what" should be restricted: Don't load XML files (unless you disable 
xinclude and external entities in XML) or other active contents from anywhere.

> Allow SolrResourceLoader to load resources from URLs
> ----------------------------------------------------
>
>                 Key: SOLR-5234
>                 URL: https://issues.apache.org/jira/browse/SOLR-5234
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: SOLR-5234.patch, SOLR-5234.patch
>
>
> This would allow multiple solr instance to share large configuration files.  
> It would also help resolve problems caused by attempting to store >1Mb files 
> in zookeeper.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to