• Sean McGivern's avatar
    Fix project search results for digits surrounded by colons · 82f4564f
    Sean McGivern authored
    A file containing /:\d+:/ in its contents would break the search results if
    those contents were part of the results, because we were splitting on colons,
    which can't work with untrusted input.
    
    Changing to use the null byte as a separator is much safer.
    82f4564f
repository_spec.rb 77.6 KB