Commit 8a0cd7dd authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Also remove null character

parent cf8f3a429b34
......@@ -536,7 +536,7 @@ def ci_config_file_for_pipeline
def ci_config_file=(value)
# Strip all leading slashes so that //foo -> foo
super(value&.sub(%r{\A/+}, ''))
super(value&.sub(%r{\A/+}, '')&.delete("\0"))
end
def import_url=(value)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment