{"action":"closed","issue":{"url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/378","labels_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/378/comments","events_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/378/events","html_url":"https://github.com/NatLibFi/Skosmos/issues/378","id":120737791,"number":378,"title":"Feedback form not sent","user":{"login":"tfrancart","id":2728945,"avatar_url":"https://avatars.githubusercontent.com/u/2728945?v=3","gravatar_id":"","url":"https://api.github.com/users/tfrancart","html_url":"https://github.com/tfrancart","followers_url":"https://api.github.com/users/tfrancart/followers","following_url":"https://api.github.com/users/tfrancart/following{/other_user}","gists_url":"https://api.github.com/users/tfrancart/gists{/gist_id}","starred_url":"https://api.github.com/users/tfrancart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfrancart/subscriptions","organizations_url":"https://api.github.com/users/tfrancart/orgs","repos_url":"https://api.github.com/users/tfrancart/repos","events_url":"https://api.github.com/users/tfrancart/events{/privacy}","received_events_url":"https://api.github.com/users/tfrancart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/bug","name":"bug","color":"ff4d51"},{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/critical","name":"critical","color":"e11d21"},{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/needs%20backport","name":"needs backport","color":"e11dff"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones/11","html_url":"https://github.com/NatLibFi/Skosmos/milestones/1.4","labels_url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones/11/labels","id":1318095,"number":11,"title":"1.4","description":"","creator":{"login":"osma","id":1132830,"avatar_url":"https://avatars.githubusercontent.com/u/1132830?v=3","gravatar_id":"","url":"https://api.github.com/users/osma","html_url":"https://github.com/osma","followers_url":"https://api.github.com/users/osma/followers","following_url":"https://api.github.com/users/osma/following{/other_user}","gists_url":"https://api.github.com/users/osma/gists{/gist_id}","starred_url":"https://api.github.com/users/osma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osma/subscriptions","organizations_url":"https://api.github.com/users/osma/orgs","repos_url":"https://api.github.com/users/osma/repos","events_url":"https://api.github.com/users/osma/events{/privacy}","received_events_url":"https://api.github.com/users/osma/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":28,"state":"open","created_at":"2015-09-22T10:00:05Z","updated_at":"2015-12-08T11:10:07Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-07T10:01:51Z","updated_at":"2015-12-08T11:10:07Z","closed_at":"2015-12-08T11:10:07Z","body":"(unfortunately URLs cited below are not public)\r\n\r\n## Problem 1 ##\r\n\r\nThe base HREF of the fedback form is defined as\r\n\r\n```<base href=\"http://thesaurus.web.ined.fr/browser/\">```\r\n\r\nThe feedback form is invoked from ```http://thesaurus.web.ined.fr/browser/[thesaurus]/[language]/feedback```\r\n\r\nThe feedback form submits to \"#\" :\r\n\r\n```<form id=\"feedback-fields\" method=\"post\" action=\"#\">```\r\n\r\n, which submits to ```http://thesaurus.web.ined.fr/browser/#``` due to the base HREF declaration. This is not catched by the index.php script, and submitting the form simply redirects to the home page of SKOSMOS, and does not send the feedback e-mail as expected.\r\n\r\n\r\n## Problem 2 ##\r\n\r\nCase 1 : When users click on \"Feedback\" from the homepage (without selecting a vocabulary first), the feedback form is invoked from ```http://thesaurus.web.ined.fr/browser/[language]/feedback``` (without the [thesaurus] URL component)\r\nCase 2 : When users first chooses a vocabulary, then clicks on feedback, the feedback form is invoked from ```http://thesaurus.web.ined.fr/browser/[thesaurus]/[language]/feedback```\r\n\r\nIn Case 1 above, the index.php considers there is only 2 parts in the URL and does not correctly invoker the \"invokeFeedbackForm\" method.\r\n"}}