Add support for RFC 1738 special characters in page names.
Escape all links and redirects to support this. Some changes to app.rb necessary for correct routing by Sinatra.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<a href="/">« Home</a>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<form class="new_wiki" method="post" action="/create/{{name}}">
|
||||
<form class="new_wiki" method="post" action="/create/{{escaped_name}}">
|
||||
<div>
|
||||
<label>
|
||||
Title<br />
|
||||
|
||||
Reference in New Issue
Block a user