Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f3ebf8df
authored
Jul 04, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: update home request definition to strip trailing slashes in templates
1 parent
561b196c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
opensipkd/base/views/templates/404.pt
opensipkd/base/views/templates/500.pt
opensipkd/base/views/templates/base3.1.pt
opensipkd/base/views/templates/login.pt
opensipkd/base/views/templates/logout.pt
opensipkd/base/views/templates/404.pt
View file @
f3ebf8d
<html
tal:define=
"home
''
;"
>
<html
tal:define=
"home
request.home.strip('/')
;"
>
<body>
<div
class=
"well"
>
<h2>
${request.app_name}
</h2>
...
...
opensipkd/base/views/templates/500.pt
View file @
f3ebf8d
<html>
<html
tal:define=
"home request.home.strip('/');"
>
<body>
<div
class=
"well"
>
...
...
opensipkd/base/views/templates/base3.1.pt
View file @
f3ebf8d
<!DOCTYPE html>
<html
lang=
"en-us"
tal:define=
"
home request.home;
home request.home
.strip('/')
;
user_path ['user', 'user-add', 'user-edit', 'user-view', 'user-delete'];
user_area_path ['user-area', 'user-area-add', 'user-area-edit', 'user-area-view', 'user-area-delete'];
user_dep_path ['user-departemen', 'user-departemen-add', 'user-departemen-edit', 'user-departemen-view', 'user-departemen-delete'];
...
...
opensipkd/base/views/templates/login.pt
View file @
f3ebf8d
<!DOCTYPE html>
<html
lang=
"en"
tal:define=
"home request.home;"
>
<html
lang=
"en"
tal:define=
"home request.home
.strip('/')
;"
>
<head>
<meta
charset=
"utf-8"
>
...
...
opensipkd/base/views/templates/logout.pt
View file @
f3ebf8d
<!DOCTYPE html>
<html
lang=
"en"
tal:define=
"home request.home;"
>
<html
lang=
"en"
tal:define=
"home request.home
.strip('/')
;"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment