diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-10-06 09:36:00 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-10-06 09:36:00 +0200 |
commit | 9463e670c98bbee99ae466673e52371c6fd39813 (patch) | |
tree | fe28e5583dc6d94a8f9a8e86a203a782e96169df /git-hooks/post-merge | |
parent | cd8bc917087164ae13ae9f9063ddefbe0f9dcdaf (diff) |
Fix handling of %10 in paste content
CI tries to remove invisible escape chars, but this breaks handling of
code like the following:
if (m == 2 && (y%4 == 0 && y%100 != 0)|| y%400 == 0)
When pasted via the client all is fine, but when pasted in the webui CI
strips '%10' from the string and leaves 'y0 != 0'.
The second parameter of remove_invisible_characters indicates whether
the string is urlencoded so I believe that setting it to false should
be fine. This only disables the code that removes % escapes.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'git-hooks/post-merge')
0 files changed, 0 insertions, 0 deletions