Go to file
Adeodato Simó be0b4f603f Allow colons in URLs after the first slash
A new regexp fixes this bug:
http://ikiwiki.info/bugs/No_link_for_blog_items_when_filename_contains_a_colon/

I traced this down to htmlscrubber. If disabled,
it works. If enabled, then $safe_url_regexp
determines the URL unsafe because of the colon and
hence removes the src attribute.

Digging into this, I find that RFC 3986 pretty
much discourages colons in filenames:

"""
A path segment that contains a colon character
(e.g., "this:that") cannot be used as the first
segment of a relative-path reference, as it would
be mistaken for a scheme name. Such a segment must
be preceded by a dot-segment (e.g., "./this:that")
to make a relative- path reference.
"""

on the other hand, with usedirs, any link to
another page will be prepended by ../ anyway, so
that makes them okay again.

The solution still seems not to use colons.

In any case, htmlscrubber should get a new regexp,
courtesy of dato.

I have tested and verified this.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-02-29 19:29:44 +01:00
IkiWiki Allow colons in URLs after the first slash 2008-02-29 19:29:44 +01:00
debian * ikiwiki-makerepo: Don't fail if the third argument ends in a slash. 2008-02-24 17:56:39 -05:00
doc web commit by http://alcopop.org/me/openid/: state that the svn instructions work for local repos only 2008-02-28 11:04:34 -05:00
plugins * Rewritten rst plugin by madduck is a python program that communicates with 2007-10-15 16:33:02 +00:00
po Fix links generated by preprocessor directives when previewing. 2008-02-24 16:37:11 -05:00
t misc improvements 2008-02-24 15:58:11 -05:00
templates * The search plugin needs to override <base> to point to the directory 2008-02-14 15:20:49 -05:00
underlays Merge branch 'master' into prefix-directives 2008-02-05 15:59:42 -05:00
.gitignore .gitignore: Ignore build-stamp 2008-01-26 22:25:43 -08:00
.perlcriticrc * Various minor fixes and stylistic improvements suggested by Perl::Critic. 2007-08-15 08:08:32 +00:00
CHANGELOG * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
IkiWiki.pm typo 2008-02-24 15:58:20 -05:00
Makefile.PL * Disable taint checking for all builds as people keep complaining about it, 2008-02-24 15:42:43 -05:00
NEWS * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
README * Disable taint checking for all builds as people keep complaining about it, 2008-02-24 15:42:43 -05:00
docwiki.setup remove "local" changes 2008-01-29 17:28:31 -05:00
ikiwiki-makerepo * ikiwiki-makerepo: Don't fail if the third argument ends in a slash. 2008-02-24 17:56:39 -05:00
ikiwiki-mass-rebuild display if group setting fails 2007-12-07 01:09:48 -05:00
ikiwiki-transition rename ikiwiki-prefix-directives into ikiwiki-transition 2008-01-30 17:22:59 -05:00
ikiwiki-update-wikilist commit. 2007-09-06 00:32:11 +00:00
ikiwiki-w3m.cgi * Support a w3mmode, which lets w3m run ikiwiki using its local CGI 2006-07-07 21:00:48 +00:00
ikiwiki.in Add --prefix-directives and --no-prefix-directives options to ikiwiki 2008-02-08 18:35:12 -08:00
mdwn2man fix 2007-03-31 06:56:52 +00:00
pm_filter if NOTAINT is not set, disable tainting 2008-02-24 16:01:10 -05:00
wikilist Fix typo. 2007-04-09 23:54:32 +00:00

README

Use ./Makefile.PL to generate a Makefile, "make" will build the
documentation wiki and a man page, and "make install" will install ikiwiki.

A few special variables you can set while using the Makefile:

PROFILE=1 turns on profiling for the build of the doc wiki. Uses Devel::Profile

NOTAINT=0 turns on the taint flag in the ikiwiki program. (Not recommended
unless your perl is less buggy than mine -- see
http://bugs.debian.org/411786)

All other documentation is in the ikiwiki documentation wiki, which is also
available online at <http://ikiwiki.info/>