Skip to content

Commit 7c9c432

Browse files
committed
Whitespace only filenames.
1 parent f4535e4 commit 7c9c432

File tree

6 files changed

+35
-0
lines changed

6 files changed

+35
-0
lines changed

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
My filename only contains a single whitespace!
2+
3+
As of 2014-11, it does not show on the file list at all.
4+
5+
You can reach me with a /%20 on the URL.

/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
My parent directory filename contains exactly 2 spaces!
2+
3+
As of 2014-11, GitHub:
4+
5+
- does not list it on the tree show
6+
7+
- shows up internal files normally with /%20%20/README.md
8+
9+
- relative links in markdown fail and link to the parent directory instead: [a.md](a.md)
10+
11+
- if you try to to view it with /%20%20/, shows the parent directory instead instead of the directory, but the breadcrumbs still correctly show as a subdirectory: ![breadcrumb glitches](breadcrumb-glitches.png)

/a.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.md

/breadcrumb-glitches.png

13.1 KB
Loading

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@ There are also some tests that could not be included here conveniently:
1010

1111
- <https://github.com/cirosantilli/test-empty-commit>
1212

13+
This repository is mirrored at:
14+
15+
- <https://github.com/cirosantilli/test>
16+
- <https://gitlab.com/cirosantilli/test>
17+
1318
Other similar repos from other people:
1419

1520
- <https://github.com/joernchen/evil_stuff>
21+
22+
The most interesting files on this repository are:
23+
24+
- [markdown.md](markdown.md)
25+
26+
- whitespace filename edge cases:
27+
28+
- [single whitespace filename](%20)
29+
- [double whitespace directory name](%20%20/) and [it's README](%20%20/README.md)
30+
- [a b](a b)

a b

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
My filename is "a b".
2+
3+
As of 2014-11 I work just fine on GitHub.

0 commit comments

Comments
 (0)