window.open() is not working after hosted in server -


it through error in console : unable open window invalid url '%3144.76.2.51:3001/api/web/bizsteps/export/?content={%22bizsteps%22:[{%22bizstep%22:%22make%22,%22bizlocation%22:[{%22name%22:%22field%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22},{%22name%22:%22pre-cool%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22}]},{%22bizstep%22:%22store%22,%22bizlocation%22:[{%22name%22:%22location%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22}]},{%22bizstep%22:%22transport%22,%22bizlocation%22:[{%22name%22:%22journey%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22},{%22name%22:%22east%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22}]},{%22bizstep%22:%22sell%22,%22bizlocation%22:[{%22name%22:%22dc%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22},{%22name%22:%22retail%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22}]},{%22bizstep%22:%22use%22,%22bizlocation%22:[{%22name%22:%22best%22,%22time%22:%22%22,%22temperature%22:%22%22,%22freshtimepoint%22:%22%22}]}],%22product%22:%22%22,%22brand%22:%22%22,%22demographic%22:%22%22,%22region%22:%22%22,%22type%22:%22%22,%22filename%22:%22%22}&type=pdf'

the above url try open in new window.

what problem in , working other urls . me?

you not specifying http:// protocol in url.

you need change this:

%3144.76.2.51:3001/api/web/... 

to this

http%3a%2f%2f144.76.2.51:3001/api/web/... 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -