{"action":"created","issue":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/484","repository_url":"https://api.github.com/repos/sabnzbd/sabnzbd","labels_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/484/comments","events_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/484/events","html_url":"https://github.com/sabnzbd/sabnzbd/pull/484","id":135139358,"number":484,"title":"Fix missing trailing-slash in Glitter interface","user":{"login":"jnikolich","id":1141503,"avatar_url":"https://avatars.githubusercontent.com/u/1141503?v=3","gravatar_id":"","url":"https://api.github.com/users/jnikolich","html_url":"https://github.com/jnikolich","followers_url":"https://api.github.com/users/jnikolich/followers","following_url":"https://api.github.com/users/jnikolich/following{/other_user}","gists_url":"https://api.github.com/users/jnikolich/gists{/gist_id}","starred_url":"https://api.github.com/users/jnikolich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnikolich/subscriptions","organizations_url":"https://api.github.com/users/jnikolich/orgs","repos_url":"https://api.github.com/users/jnikolich/repos","events_url":"https://api.github.com/users/jnikolich/events{/privacy}","received_events_url":"https://api.github.com/users/jnikolich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-21T00:47:12Z","updated_at":"2016-02-22T17:29:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/pulls/484","html_url":"https://github.com/sabnzbd/sabnzbd/pull/484","diff_url":"https://github.com/sabnzbd/sabnzbd/pull/484.diff","patch_url":"https://github.com/sabnzbd/sabnzbd/pull/484.patch"},"body":"The \"SABnzbd Config\" link on the main screen is missing a trailing slash in (at least) the Glitter interface, causing failures when SABnzbd is accessed via a reverse proxy (tested with Pound and HAProxy)  This one-character change simply provides the missing slash."},"comment":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/comments/187280088","html_url":"https://github.com/sabnzbd/sabnzbd/pull/484#issuecomment-187280088","issue_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/484","id":187280088,"user":{"login":"jnikolich","id":1141503,"avatar_url":"https://avatars.githubusercontent.com/u/1141503?v=3","gravatar_id":"","url":"https://api.github.com/users/jnikolich","html_url":"https://github.com/jnikolich","followers_url":"https://api.github.com/users/jnikolich/followers","following_url":"https://api.github.com/users/jnikolich/following{/other_user}","gists_url":"https://api.github.com/users/jnikolich/gists{/gist_id}","starred_url":"https://api.github.com/users/jnikolich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnikolich/subscriptions","organizations_url":"https://api.github.com/users/jnikolich/orgs","repos_url":"https://api.github.com/users/jnikolich/repos","events_url":"https://api.github.com/users/jnikolich/events{/privacy}","received_events_url":"https://api.github.com/users/jnikolich/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T17:29:33Z","updated_at":"2016-02-22T17:29:33Z","body":"Does changing `<a href=\"config\"> ... </a>` into `<a href=\"config/\"> ... </a>` make it into an absolute path?  I thought both were relative, and the change just provides a trailing slash to help avoid the need for rewrites, redirects, and improper directory-handling.\r\n\r\nIn any event, it works for me, and the change makes the template consistent with `interfaces/Config/templates/_inc_header_uc.tmpl`, which I gather is responsible for the Menu options at the top of the Config page itself.  I.e.:\r\n```\r\n                <li>\r\n                    <a href=\"${root}config/general/\" #if $pane == \"General\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-cog\"></span>\r\n                        <strong>$T('cmenu-general')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/folders/\" #if $pane == \"Folders\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-folder-open\"></span>\r\n                        <strong>$T('cmenu-folders')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/server/\" #if $pane == \"Servers\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-sort\"></span>\r\n                        <strong>$T('cmenu-servers')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/categories/\" #if $pane == \"Categories\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-tag\"></span>\r\n                        <strong>$T('cmenu-cat')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/switches/\" #if $pane == \"Switches\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-check\"></span>\r\n                        <strong>$T('cmenu-switches')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/sorting/\" #if $pane == \"Sorting\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-sort-by-alphabet\"></span>\r\n                        <strong>$T('cmenu-sorting')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/notify/\" #if $pane == \"Email\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-comment\"></span>\r\n                        <strong>$T('cmenu-notif')</strong>\r\n                    </a>\r\n                </li>\r\n                <li>\r\n                    <a href=\"${root}config/scheduling/\" #if $pane == \"Scheduling\" then 'class=\"active\"' else \"\"#>\r\n                        <span class=\"glyphicon glyphicon-time\"></span>\r\n                        <strong>$T('cmenu-scheduling')</strong>\r\n                    </a>\r\n                </li>\r\n```"}}