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.11 00.11 MarkupToHTML begin
 3: 00.11 00.11 MarkupToHTML begin
 4: 00.12 00.12 MarkupToHTML end
 5: 00.12 00.12 MarkupToHTML begin
 6: 00.13 00.12 MarkupToHTML end
 7: 00.13 00.12 MarkupToHTML begin
 8: 00.13 00.12 MarkupToHTML end
 9: 00.13 00.12 MarkupToHTML begin
10: 00.14 00.13 MarkupToHTML end
11: 00.14 00.13 MarkupToHTML end
12: 00.14 00.14 MarkupToHTML begin
13: 00.15 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.15 00.15 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.16 00.15 MarkupToHTML end
16: 00.16 00.15 MarkupToHTML begin
17: 00.16 00.15 MarkupToHTML end
18: 00.16 00.16 now
Peak memory: 3,454,224 bytes