forked from shaba/openuds
* Fixed X-Forwarded-Proto (was X-Forwarded-Protocol before...)
* Added "fix" on HTML5 javascript so it can fix the uds actor client
This commit is contained in:
parent
c1377255b5
commit
a9e65975c5
@ -17,7 +17,7 @@ DEBUG = True
|
|||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
|
|
||||||
# USE_X_FORWARDED_HOST = True
|
# USE_X_FORWARDED_HOST = True
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https') # For testing begind a reverse proxy
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # For testing begind a reverse proxy
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
@ -195,8 +195,8 @@ uds.launch = (el, url, alt) ->
|
|||||||
alert data.error
|
alert data.error
|
||||||
else
|
else
|
||||||
# Fix access provided in url in case of https
|
# Fix access provided in url in case of https
|
||||||
# if window.location.protocol is 'https:'
|
if window.location.protocol is 'https:'
|
||||||
# data.url = data.url.replace('uds://', 'udss://') # Ensures that protocol is https also for plugin, fixing if needed UDS provided info
|
data.url = data.url.replace('uds://', 'udss://') # Ensures that protocol is https also for plugin, fixing if needed UDS provided info
|
||||||
if bypassPluginDetection is false
|
if bypassPluginDetection is false
|
||||||
uds.doLaunch el, data.url, alt
|
uds.doLaunch el, data.url, alt
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user