403 Forbidden access saving UDT, depends on content
Posted: Mon Aug 19, 2013 3:33 pm
Hi,
I've just had one of my CMS accounts moved to another server at the same hosting company.
I found that some updates I wanted to make to a User Defined Tag were not being saved - giving me a 403 Forbidden error. Even the same code without change would not re-save.
I thought that something had gone wrong with the transfer (and maybe it did), but I did do some further investigation...
* I created a new UDT and put the same code in there - same issue on saving.
* I commented out all of the UDT code and it still would not save.
* Then I removed parts of the text and tried to save until it saved successfully. I narrowed it down to 2 instances that were causing this error - the text "scandir" and "<__script__".
So something is looking for keywords and then preventing the save if found. It seems like this would be a CMSMS thing as it's possible to write to the page sometimes - but I'm not sure how as I did not change my CMSMS instance.
Is there likely to be some other, new, security feature on the new server that is causing this rather than CMSMS?
Thanks,
Neil
I've just had one of my CMS accounts moved to another server at the same hosting company.
I found that some updates I wanted to make to a User Defined Tag were not being saved - giving me a 403 Forbidden error. Even the same code without change would not re-save.
I thought that something had gone wrong with the transfer (and maybe it did), but I did do some further investigation...
* I created a new UDT and put the same code in there - same issue on saving.
* I commented out all of the UDT code and it still would not save.
* Then I removed parts of the text and tried to save until it saved successfully. I narrowed it down to 2 instances that were causing this error - the text "scandir" and "<__script__".
So something is looking for keywords and then preventing the save if found. It seems like this would be a CMSMS thing as it's possible to write to the page sometimes - but I'm not sure how as I did not change my CMSMS instance.
Is there likely to be some other, new, security feature on the new server that is causing this rather than CMSMS?
Thanks,
Neil