git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-scm.com/book/ru -- incorrect "next" link containing a question mark

From
KKKonstantin Khomoutov <kostix+git@007spb.ru>
Date
Mar 7, 2013, 08:47 UTC
Message-ID
<20130307124736.3d738c5aab39345fa9ca2930@domain007.com>
In-Reply-To
<5fe58162-33ed-48c2-a095-e98a355ed4f6@googlegroups.com>

On Thu, 7 Mar 2013 00:01:31 -0800 (PST) Aleksey Rozhkov <ekkertan@gmail.com> wrote:

Show 5 quoted lines
> The page http://git-scm.com/book/ru/
> Введение-Первоначальная-настройка-Git contains incorrect link "next"
> Now this link to the page 
> http://git-scm.com/book/ru/Введение-Как-получить-помощь? , but this
> page does not exist
I would say "?" is just interpreted as a request part of the URL.
Indeed, the page source contains:

<a href="/book/ru/Введение-Установка-Git">prev</a> | <a href="/book/ru/Введение-Как-получить-помощь?">next</a>

so the question mark is really included verbatim.
> So, correct link is 
> http://git-scm.com/book/ru/Введение-Как-получить-помощь%3F

Good point, thanks. I Cc'ed the main Git list and made the message title a bit more clear.

To the Pro Git book maintainer: is it possible to somehow fix the HTML generation script to URL-encode any special characters if they're to appear in an URL?

Next: Jeff King
Message 1 of 2 in “Re: git-scm.com/book/ru -- incorrect "next" link containing a question mark”
  1. Konstantin KhomoutovMar 7, 2013
  2. Jeff KingMar 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.