Closed boonebgorges closed 4 years ago
The ctype_xdigit()
check is done for private iCalendar hashes.
I guess I can also do a check for length as well so short strings like abcde
will not match :)
Will look into it.
@boonebgorges - Commit 008419a should fix this. I added it to 1.1.x
branch.
Is the next release 1.2.0
? If so, I'll create a new 1.2.x
branch.
I don't think there's any need to match the CBOX numbering. But in this case, I think that the new event-import feature suggests that a "major" version is appropriate, which just happens to be 1.2.x
. So yes, I guess so :-D
Closing as this is part of the 1.2.0 release.
In
_display_hook()
ofBP_Event_Organiser_Group_Extension
, there's a check to see whether the currentaction_variable()
isctype_xdigit
: https://github.com/cuny-academic-commons/bp-event-organiser/blob/f2cdb7b745b7a99c347d2e52ea0fd088afad6432/bp-event-organiser-groups.php#L233This conditional can be inappropriately triggered when the post slug for an event has only [a-f0-9] characters in it. I came across this because of an event with the name
abcde
:-DI'm unsure how the hexadecimal check is related to ical without digging deeper. @r-a-y maybe you could have a look to see if there's a quick fix?