AttachWithSpaces

Attachments and images with spaces in the file name

Attachments

* Attach:somefile.txt (unspaced)
* Attach:some file.txt (spaced)
* Attach:[=some file.txt=] (escaped)

* [[Attach:somefile.txt]] (unspaced as link)
* [[Attach:some file.txt]] (spaced as link)
* [[Attach:[=some file.txt=]]] (escaped as link)

* Attach:"some file.txt" (spaced quoted)
* [[Attach:"some file.txt"]] (spaced quoted as link)

Images Attachments

* Attach:somefile.gif
* Attach:some file.gif
* Attach:[=some file.gif=]

* [[Attach:somefile.gif]]
* [[Attach:some file.gif]]
* [[Attach:[=some file.gif=]]]

* Attach:"some file.gif"

Attachments and variables

:myPTVunspaced:somefile.txt
:myPTVspaced:some file.txt

* Attach:{$:myPTVunspaced}
* Attach:{$:myPTVspaced}
* [[Attach:{$:myPTVunspaced}]]
* [[Attach:{$:myPTVspaced}]]
* [[Attach:{$:myPTVunspaced} | text]]
* [[Attach:{$:myPTVspaced} | text]]
* [[Attach:{$:myPTVunspaced} | Attach:{$:myPTVunspaced}]]
* [[Attach:{$:myPTVspaced} | Attach:{$:myPTVspaced}]]
myPTVunspaced
somefile.txt
myPTVspaced
some file.txt

Attachments in page variables

gifPTVspaced:some file.gif
gifPTVspacedvariant:[=some file.gif=]

* {$:gifPTVspaced}
* {$FullName}/{$:gifPTVspaced}

* Attach:{$:gifPTVspaced}

* Attach:[={$:gifPTVspaced}=]
* [[{$FullName}/{$:gifPTVspaced}]]

* [[Attach:{$:gifPTVspaced}]]
* [[Attach:{$:gifPTVspaced} | Attach:{$:gifPTVspaced}]]

* Attach:some%20file.gif
* Attach:{$:gifPTVspacedvariant}

gifPTVspaced:some file.gif gifPTVspacedvariant:some file.gif

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.20 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.21 MarkupToHTML end
 5: 00.21 00.21 MarkupToHTML begin
 6: 00.22 00.21 MarkupToHTML end
 7: 00.22 00.21 MarkupToHTML begin
 8: 00.22 00.22 MarkupToHTML end
 9: 00.22 00.22 MarkupToHTML begin
10: 00.23 00.22 MarkupToHTML end
11: 00.23 00.23 MarkupToHTML end
12: 00.24 00.23 MarkupToHTML begin
13: 00.24 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.25 00.25 MarkupToHTML end
16: 00.25 00.25 MarkupToHTML begin
17: 00.26 00.25 MarkupToHTML end
18: 00.26 00.25 now
Peak memory: 3,753,848 bytes