lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Droz (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SOLR-1833) ShowFileRequestHandle should allow you to specify which files can be viewed, not just which cannot be viewed
Date Thu, 24 May 2012 12:37:27 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raphaël Droz updated SOLR-1833:
-------------------------------

    Attachment: SOLR-1833-ShowFileRequestHandler-whitelist.patch

This patch may do the trick.
Still unsure about invariants.getParams() return value (could it be an empty Set ?).

Whitelisting takes precedence thus overrules any "hidden" invariant. I think this is a relatively
safe behavior.

                
> ShowFileRequestHandle should allow you to specify which files can be viewed, not just
which cannot be viewed
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1833
>                 URL: https://issues.apache.org/jira/browse/SOLR-1833
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Mark Miller
>            Priority: Minor
>             Fix For: 4.1
>
>         Attachments: SOLR-1833-ShowFileRequestHandler-whitelist.patch
>
>
> In many cases I wouldn't want to come up with every file I want hidden - especially when
new files may be added in the future - often you would want to explicitly say which files
can be viewed - this is how the old gettableFiles used to work.

--
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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message