Strip white spaces (trim) from prefix field

Some users reported problems with their PHP pages, especially the ones using sessions.
We have noticed that they typed some tabs or spaces in Configure > Code > Prefix window that will be prepended to code in all pages, breaking correct handling of PHP header() function.
You should strip all white spaces from that field.

Thanks, will take a look.

This will be in developer preview 3.

Cheers,

—Nik

1 Like