-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Sinatra enables host_authorization in development mode by default. This can cause issues when testing apps, sending requests with no Host: header, sending requests with different Host: header than localhost, 0.0.0.0, etc. It might be safer to disable host_authorization by default.
If users wish to re-enable host_authorization, simply set host_authorization with permitted_hosts:
set :host_authorization, {permitted_hosts: %w[...]}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request