{"action":"created","issue":{"url":"https://api.github.com/repos/jimevins/glabels/issues/48","repository_url":"https://api.github.com/repos/jimevins/glabels","labels_url":"https://api.github.com/repos/jimevins/glabels/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/jimevins/glabels/issues/48/comments","events_url":"https://api.github.com/repos/jimevins/glabels/issues/48/events","html_url":"https://github.com/jimevins/glabels/issues/48","id":392763068,"node_id":"MDU6SXNzdWUzOTI3NjMwNjg=","number":48,"title":"Template designer silently fails to save template if part number contains slash (/)","user":{"login":"sam-hobbs","id":7817338,"node_id":"MDQ6VXNlcjc4MTczMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7817338?v=4","gravatar_id":"","url":"https://api.github.com/users/sam-hobbs","html_url":"https://github.com/sam-hobbs","followers_url":"https://api.github.com/users/sam-hobbs/followers","following_url":"https://api.github.com/users/sam-hobbs/following{/other_user}","gists_url":"https://api.github.com/users/sam-hobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-hobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-hobbs/subscriptions","organizations_url":"https://api.github.com/users/sam-hobbs/orgs","repos_url":"https://api.github.com/users/sam-hobbs/repos","events_url":"https://api.github.com/users/sam-hobbs/events{/privacy}","received_events_url":"https://api.github.com/users/sam-hobbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-19T20:21:44Z","updated_at":"2019-01-04T22:12:42Z","closed_at":null,"author_association":"NONE","body":"I tried several times to create a template for a Labelplanet LP6/99, and no template was created even though no errors were shown in the program. I tried again with the part number \"LP699\" instead of \"LP6/99\" and the template was created successfully.\r\n\r\nCan you confirm that the slash in the part number was the cause of the error? I think it was the only difference in input between the attempts I made.\r\n\r\nI'm running glabels3 on KDE Neon (ubuntu 18.04 base)\r\n\r\n```\r\nsam@T440s:~$ apt show glabels\r\nPackage: glabels\r\nVersion: 3.4.0-2build2\r\nPriority: optional\r\nSection: universe/gnome\r\nOrigin: Ubuntu\r\nMaintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>\r\nOriginal-Maintainer: Jakob Haufe <sur5r@sur5r.net>\r\nBugs: https://bugs.launchpad.net/ubuntu/+filebug\r\nInstalled-Size: 1,417 kB\r\nProvides: libglabels5\r\nPre-Depends: dpkg (>= 1.15.6~)\r\nDepends: glabels-data (= 3.4.0-2build2), libc6 (>= 2.14), libcairo2 (>= 1.10.0), libebook-1.2-19 (>= 3.17), libebook-contacts-1.2-2 (>= 3.16.2), libedataserver-1.2-23 (>= 3.17), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.0.9), libiec16022-0, libpango-1.0-0 (>= 1.28.1), libpangocairo-1.0-0 (>= 1.28.1), libqrencode3 (>= 3.2.0), librsvg2-2 (>= 2.32.0), libxml2 (>= 2.7.4)\r\nRecommends: evince | atril\r\nSuggests: evolution-data-server\r\nHomepage: http://glabels.org/\r\nDownload-Size: 312 kB\r\nAPT-Manual-Installed: yes\r\nAPT-Sources: http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages\r\nDescription: label, business card and media cover creation program for GNOME\r\n```\r\n\r\nThanks for the program!"},"comment":{"url":"https://api.github.com/repos/jimevins/glabels/issues/comments/451583961","html_url":"https://github.com/jimevins/glabels/issues/48#issuecomment-451583961","issue_url":"https://api.github.com/repos/jimevins/glabels/issues/48","id":451583961,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTU4Mzk2MQ==","user":{"login":"sur5r","id":1111369,"node_id":"MDQ6VXNlcjExMTEzNjk=","avatar_url":"https://avatars1.githubusercontent.com/u/1111369?v=4","gravatar_id":"","url":"https://api.github.com/users/sur5r","html_url":"https://github.com/sur5r","followers_url":"https://api.github.com/users/sur5r/followers","following_url":"https://api.github.com/users/sur5r/following{/other_user}","gists_url":"https://api.github.com/users/sur5r/gists{/gist_id}","starred_url":"https://api.github.com/users/sur5r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sur5r/subscriptions","organizations_url":"https://api.github.com/users/sur5r/orgs","repos_url":"https://api.github.com/users/sur5r/repos","events_url":"https://api.github.com/users/sur5r/events{/privacy}","received_events_url":"https://api.github.com/users/sur5r/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T22:12:41Z","updated_at":"2019-01-04T22:12:41Z","author_association":"NONE","body":"I think this stems from https://github.com/jimevins/glabels/blob/master/libglabels/lgl-db.c#L1525. Maybe it would make sense to insert a call to `g_strcanon` to restrict the characters that end up in the file name."}}
{"actor":{"display_login":"sur5r"}}