KETSE / casebox

Casebox: Secure all your information and team communication in one place
https://www.casebox.org
216 stars 120 forks source link

PreviewExtractor with a snake case core name does not work. #23

Closed daneryl closed 8 years ago

daneryl commented 8 years ago

With a core name like "mycore" PreviewExtracor init function splits by "" the core name to configure the server with the last item of the split like "core.dummy.com", this is used in posterior process to detect the core name by the detect_core() function, after this the core name used by casebox is "core" instead of "my_core" and all the preview generation will fail without any error.

I solved this changing all my core names to camel case, really easy to solve, but it was very hard to debug, a fix or a warning on this i think is needed.

tvitalie commented 8 years ago

I will exclude that explode by "_" in next commit to prevent other people from having same issue. Thanks for reporting it. Best regards.