Commit Graph

5932 Commits (d9275303cc25911b1fe1e1754a4a56f9070426c1)

Author SHA1 Message Date
Joey Hess 37dd9b0dc3 fix location 2008-02-29 22:41:20 -05:00
Joey Hess cd05fffee7 web commit by http://alcopop.org/me/openid/ 2008-02-29 17:41:55 -05:00
Joey Hess 383cf1b715 web commit by http://alcopop.org/me/openid/: an example comment 2008-02-29 17:38:48 -05:00
Joey Hess 4707f556a7 web commit by http://madduck.myopenid.com/: remove comment about relative links always using ../, which is not true 2008-02-29 13:47:48 -05:00
Joey Hess 0336d6708d web commit by http://madduck.myopenid.com/: close bug 2008-02-29 13:33:17 -05:00
Joey Hess 6a60c225fe web commit by http://madduck.myopenid.com/: add patch/git commit 2008-02-29 13:32:19 -05:00
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
Joey Hess 8ebf6acd80 web commit by http://madduck.myopenid.com/: add analysis based on rfc3986 and suggest a new regexp 2008-02-29 13:21:24 -05:00
Joey Hess 7129554701 web commit by http://alcopop.org/me/openid/: brief biog 2008-02-29 13:06:49 -05:00
Joey Hess 74e8c5197e web commit by http://alcopop.org/me/openid/: potwiki 2008-02-29 13:05:12 -05:00
Joey Hess 361ce5d3a9 web commit by http://madduck.myopenid.com/: trace this bug to htmlscrubber and $safe_url_regexp 2008-02-29 13:04:31 -05:00
Joey Hess 9323038904 web commit by http://madduck.myopenid.com/: merge bug with colon-in-links bug 2008-02-29 13:03:16 -05:00
Joey Hess 5879c6070b web commit by http://madduck.myopenid.com/: add my homepage 2008-02-29 11:47:02 -05:00
Joey Hess 19621d889f web commit by http://madduck.myopenid.com/: add vcs-pkg and vcs-home 2008-02-29 11:46:08 -05:00
Joey Hess bfb8e4a6f8 web commit by http://madduck.myopenid.com/: confirm this bug 2008-02-29 11:41:56 -05:00
Joey Hess 8aff1348e6 web commit by bremner 2008-02-29 09:41:17 -05:00
Joey Hess d583c335a8 web commit by bremner 2008-02-29 08:38:27 -05:00
Joey Hess e3b1d8e482 web commit by bremner 2008-02-29 08:34:53 -05:00
Joey Hess bda88930b5 web commit by bremner 2008-02-29 04:00:34 -05:00
Joey Hess b18b97fa3c web commit by bremner 2008-02-29 03:57:42 -05:00
Joey Hess e83ea3f29f web commit by bremner 2008-02-29 03:55:48 -05:00
Joey Hess 12c5361c73 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
Joey Hess 28a7edf811 web commit by bremner 2008-02-28 10:01:59 -05:00
Joey Hess 393a58b866 web commit by bremner 2008-02-28 09:57:48 -05:00
Joey Hess f395b961f9 web commit by bremner 2008-02-28 07:01:12 -05:00
Joey Hess 2254081854 web commit by http://mmassonnet.myopenid.com/ 2008-02-27 05:28:59 -05:00
Joey Hess eff5b9d970 remove page-o-cruft
(user "yyl": you're risking being banned..)
2008-02-26 16:48:08 -05:00
Joey Hess 9beab2a4ae web commit by http://hendry.iki.fi/ 2008-02-26 14:04:19 -05:00
Joey Hess 2cc891e518 web commit by Mathias 2008-02-26 05:18:55 -05:00
Joey Hess 5730282337 web commit by http://liw.iki.fi/liw/: Removed "nagios" link to userpage without content from front page. 2008-02-26 05:13:15 -05:00
Joey Hess 2d90e4ede4 web commit by http://brian.may.myopenid.com/: work around not solution 2008-02-25 18:16:59 -05:00
Joey Hess 52cd63011e web commit by yyl 2008-02-25 16:52:10 -05:00
Joey Hess da9fd35243 web commit by yyl 2008-02-25 16:51:08 -05:00
Joey Hess 3f8af9234a web commit by http://harningt.eharning.us/ 2008-02-25 14:16:39 -05:00
Joey Hess d766d61252 web commit by buo: More comments on mercurial use. 2008-02-25 11:48:58 -05:00
Joey Hess 5adc9830a0 web commit by http://madduck.myopenid.com/ 2008-02-25 10:45:16 -05:00
Joey Hess 8b19dea41d web commit by http://madduck.myopenid.com/ 2008-02-25 10:06:50 -05:00
Joey Hess f4773f6a83 avoid calling getctime on internal pages
internal pages won't be in revision control so this avoids some ugly noise
2008-02-24 18:02:34 -05:00
Joey Hess 154532b278 per Brian May, change monotone historyurl
> This doesn't work in currently released versions of viewmtn (it was
> meant to), but has been fixed in the development repository. I imagine
> it won't be long until the next release.
2008-02-24 17:58:25 -05:00
Joey Hess af20ee2b76 * ikiwiki-makerepo: Don't fail if the third argument ends in a slash. 2008-02-24 17:56:39 -05:00
Joey Hess 08192f449d move random comment out of the main page and into the discussion page where it belongs
add response
2008-02-24 17:50:01 -05:00
Joey Hess badd3bc00c improve wording 2008-02-24 17:46:54 -05:00
Joey Hess ba96fb16be response 2008-02-24 17:41:57 -05:00
Joey Hess 60dc22c16d version needed 2008-02-24 17:39:27 -05:00
Joey Hess c2a6fd49db response on recentchanges 2008-02-24 17:36:53 -05:00
Joey Hess b045e3124a closing with explanation 2008-02-24 17:31:18 -05:00
Joey Hess 4eabb3cb7a * inline: When forcing urls absolute for rss feeds, skip mailto and other
such urls.
2008-02-24 17:07:56 -05:00
Joey Hess 8e2aae2b35 close this one 2008-02-24 17:02:29 -05:00
Joey Hess fab5151a86 Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-02-24 17:01:59 -05:00
Joey Hess 265098501e user configuration error 2008-02-24 17:01:37 -05:00