-
Notifications
You must be signed in to change notification settings - Fork 271
Conversation
Hi @lyra833, thanks a lot for your contribution! I'm thinking edge cases here, have you tested what happens if you join both |
Of course! I'll look into that right now. |
Obviously prefixing existing If you think it is, I can make a nice notification and wrap it up as another PR. |
Is there anything else I should do? |
Could you squash your commits and reword your message according to the guidelines in the CONTRIBUTING file, please? Please also add the following comment above your change: // Quick fix to escape pre-escape channel names that contain % using %%,
// and / using %. **This does not escape all reserved words** That said, even if I +1 this quick solution, this is not a comprehensive fix. There are so many things to check and escape that it goes far beyond that. Also, if you would decide to add tests for this bug and similar others, that would be truly awesome :-) In the meantime, if another maintainer can give his second opinion, that'd be appreciated. |
I'm not too sure what sort of comprehensive testing we need until the scope expands. |
What do you mean by "until the scope expands"? We can at least record the initial bug as a test so that we don't have regressions. Re: commit message, you have probably missed that part of the CONTRIBUTING file:
|
@lyra833, ping? |
Sorry, massive school project. I'll try to get this fixed up by tomorrow. |
I don't want to block this for a commit message format issue, so I'm 👍 on this (but if @lyra833 stops by here to edit, I wouldn't be against :P). May I have a second review on this? @JocelynDelalande, @erming, @floogulinc? |
That's a 👍 for me also. @lyra833 when you mean say that not all reserved words are checked, you mean "." and ".." I guess ? (they seem harmless in this case) |
Fixed a bug preventing logging
Thanks to the magic of UNIX, when we attempt to make log files for channels that contain slashes, we get an error as we try to create a directory that doesn't exist.
I just replaced the
/
with the similar looking, but friendlier to the shell%
.