Hello,I was trying to add an embedded video from YouTube to FAQ but as soon as I hit post, it signs me off the admin panel to the login screen.I have upgraded my php version to 7 so this could work but still having the same problem.
Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.osTicket version?system details?Does editing pages like that and not adding an embedded video also log you off?
Version is 1.10osTicket Version v1.10 (901e5ea) — Up to dateWeb Server Software ApacheMySQL Version 10.1.21PHP Version 7.0.17No, as soon as I remove embedded video, I can post normally. So obviously the problem is from the embedded video.
While I appreciate your assumption you might want to hold off on making those.Code your injecting?
<iframe width="560" height="315" src="https://www.youtube.com/embed/1Q4MKOW8FZk" frameborder="0" allowfullscreen></iframe>I have also tried adding only the Youtube linkhttps://www.youtube.com/embed/1Q4MKOW8FZk
When you view the page is the video there? Or is it getting stripped out some how?I think that this might be related to HTMLawed and iframe stripping.See:https://github.com/osTicket/osTicket/issues/1141
No video is there when I visit the page. You are right. it's iframe stripping.
How can I solve this without the need to edit the php files.
I do not think that you can.