Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js:options] add client option dispInlineRegex for legacy connectors #1947

Closed
nao-pon opened this issue Apr 3, 2017 · 0 comments
Closed
Assignees
Labels

Comments

@nao-pon
Copy link
Member

nao-pon commented Apr 3, 2017

Add options to the client side for legacy connectors that do not return dispInlineRegex value on the connector side.

	/**
	 * MIME regex of send HTTP header "Content-Disposition: inline" or allow preview in quicklook
	 * This option will overwrite by connector configuration
	 * 
	 * @type String
	 * @default '^(?:(?:image|video|audio)|text/plain|application/pdf$)'
	 * @example
	 *  dispInlineRegex : '.',  // is allow inline of all of MIME types
	 *  dispInlineRegex : '$^', // is not allow inline of all of MIME types
	 */
	dispInlineRegex : '^(?:(?:image|video|audio)|(?:text/plain|application/pdf)$)',
@nao-pon nao-pon added the feature label Apr 3, 2017
@nao-pon nao-pon self-assigned this Apr 3, 2017
@nao-pon nao-pon closed this as completed in 0e0329c Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant