I was trying to add calendar categories and when I checked the drop down for the calendar. None of the ones that I entered were there. Is the feature broken? I looked in the database and none of the entries made it to the database although there were no error messages on the screen.
That is a weird bug. When I clicked ok to confirm the new category, it all of sudden went to the calendar display (this is not normal behavior). And also confirmed the new category was not made.
Kidding but have found bugs in postnuke api’s that may tie many of these issue with calendar together. First is a security fix where trying to escape a url with attr()… probably a nono. Another with depreciated functions and php7.
Just committed the fix on this. Lesson learned here is can not htmlescape paths (it breaks the & characters) like was done there. There are several more places where matrix escaped paths so will plan to revert those after analyze them a bit. Note these were real security vulnerabilities they were addressing, so they’ll likely need to attack them further upstream/downstream before the url is prepared or when it is used.
-brady
Yep, need to escape the uri part separate from the query part…
I have some refactoring in pnMod.php and pnApi.php in postnuke for the server issue, should I wait?