{"action":"created","issue":{"url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1017","repository_url":"https://api.github.com/repos/pbek/QOwnNotes","labels_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1017/labels{/name}","comments_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1017/comments","events_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1017/events","html_url":"https://github.com/pbek/QOwnNotes/issues/1017","id":358057372,"node_id":"MDU6SXNzdWUzNTgwNTczNzI=","number":1017,"title":"[I] Error opening linked note when its name Cyrillic","user":{"login":"Snousmoumryk","id":43047102,"node_id":"MDQ6VXNlcjQzMDQ3MTAy","avatar_url":"https://avatars3.githubusercontent.com/u/43047102?v=4","gravatar_id":"","url":"https://api.github.com/users/Snousmoumryk","html_url":"https://github.com/Snousmoumryk","followers_url":"https://api.github.com/users/Snousmoumryk/followers","following_url":"https://api.github.com/users/Snousmoumryk/following{/other_user}","gists_url":"https://api.github.com/users/Snousmoumryk/gists{/gist_id}","starred_url":"https://api.github.com/users/Snousmoumryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snousmoumryk/subscriptions","organizations_url":"https://api.github.com/users/Snousmoumryk/orgs","repos_url":"https://api.github.com/users/Snousmoumryk/repos","events_url":"https://api.github.com/users/Snousmoumryk/events{/privacy}","received_events_url":"https://api.github.com/users/Snousmoumryk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-09-07T12:59:33Z","updated_at":"2018-09-08T09:41:24Z","closed_at":null,"author_association":"NONE","body":"#### Expected behaviour\r\n\r\nLinks to notes with Cyrillic file names should not be punycode translated because they are links to files in local file system\r\n\r\n#### Actual behaviour\r\n\r\nLinks to notes with cyrillic file names are treated like web links and translated to punycode, which causes a note search error.\r\n\r\n#### Steps to reproduce\r\n\r\n* Create two notes, one with English name and the other with Cyrillic (for example \"гастрономия\", punycode \"xn--80afqpefbnik3m\")\r\n* Make link in English note to Cyrillic note\r\n* Try to follow the link and get error \"Note xn--80afqpefbnik3m not found\"\r\n\r\n#### Relevant log output in the Log panel\r\n\r\n```\r\n[15:56:05] [debug] on_noteTextView_anchorClicked - 'url': QUrl(\"note://xn--80afqpefbnik3m\")\r\n```\r\n\r\n#### Information about the application, settings and environment\r\n\r\nQOwnNotes Debug Information\r\n===========================\r\n\r\n## General Info\r\n\r\n**Current Date**: `Пт сен 7 15:56:39 2018`\r\n**Version**: `18.09.0`\r\n**Build date**: `Sep  6 2018`\r\n**Build number**: `3826`\r\n**Platform**: `windows`\r\n**Operating System**: `Windows 10 (10.0)`\r\n**Build architecture**: `i386`\r\n**Current architecture**: `x86_64`\r\n**Release**: `AppVeyor`\r\n**Qt Version (build)**: `5.10.1`\r\n**Qt Version (runtime)**: `5.10.1`\r\n**Portable mode**: `no`\r\n**Settings path / key**: `\\HKEY_CURRENT_USER\\Software\\PBE\\QOwnNotes`\r\n**Application database path**: `C:\\Users\\serge\\AppData\\Roaming\\PBE\\QOwnNotes\\QOwnNotes.sqlite`\r\n**Application arguments**: `C:\\Program Extra\\QOwnNotes\\QOwnNotes.exe`\r\n**Qt Debug**: `0`\r\n**Locale (system)**: `ru_RU`\r\n**Locale (interface)**: *empty*\r\n**Icon theme**: `breeze-qownnotes`\r\n**Notes in current note folder**: `23`\r\n**Enabled scripts**: `2`\r\n\r\n## Server Info\r\n\r\n**serverUrl**: `http://192.168.1.2:60080/nextcloud`\r\n**appIsValid**: `yes`\r\n**notesPathExists**: `yes`\r\n**serverVersion**: `13.0.6.1`\r\n**appVersion**: *empty*\r\n\r\n## Note folders\r\n\r\n**currentNoteFolderId**: `1`\r\n\r\n### Note folder `по умолчанию`\r\n\r\n**id**: `1`\r\n**isCurrent**: `yes`\r\n**activeTagId**: `1`\r\n**localPath**: `C:\\Users\\serge\\Nextcloud\\Notes`\r\n**remotePath**: `Notes`\r\n**isShowSubfolders**: `yes`\r\n**isUseGit**: `no`\r\n**activeNoteSubFolder name**: *empty*\r\n**database file**: `C:\\Users\\serge\\Nextcloud\\Notes\\notes.sqlite`\r\n\r\n## Enabled scripts\r\n\r\n### Script `Checkbox preview and export`\r\n\r\n**id**: `1`\r\n**path**: `C:\\Users\\serge\\AppData\\Roaming\\PBE\\QOwnNotes\\scripts\\export-checkboxes\\export-checkboxes.qml`\r\n**variablesJson**: *empty*\r\n**identifier**: `export-checkboxes`\r\n**version**: `0.0.2`\r\n**minAppVersion**: `17.12.0`\r\n\r\n### Script `Disable read-only mode on note double-click`\r\n\r\n**id**: `2`\r\n**path**: `C:\\Users\\serge\\AppData\\Roaming\\PBE\\QOwnNotes\\scripts\\disable-readonly-mode\\disable-readonly-mode.qml`\r\n**variablesJson**: *empty*\r\n**identifier**: `disable-readonly-mode`\r\n**version**: `1.0.0`\r\n**minAppVersion**: `18.08.1`\r\n\r\n## Settings\r\n\r\n**ActiveNoteHistoryItem**: *empty*\r\n**Debug/fakeOldVersionNumber**: `false`\r\n**Debug/fileLogging**: `false`\r\n**Editor/CurrentSchemaKey**: `EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb`\r\n**Editor/autoBracketClosing**: `true`\r\n**Editor/autoBracketRemoval**: `true`\r\n**Editor/editorWidthInDFMOnly**: `true`\r\n**Editor/highlightCurrentLine**: `true`\r\n**Editor/vimMode**: `false`\r\n**IssueAssistantDialog/geometry**: `<binary data>`\r\n**LastUpdateCheck**: `2018-09-07T15:45:02`\r\n**LinkDialog/geometry**: `<binary data>`\r\n**LinkDialog/lastSelectedFileUrl**: `file:///C:/Users/serge/Nextcloud/Notes/%D0%9F%D0%BE%D0%BA%D1%83%D0%BF%D0%BA%D0%B8/%D0%93%D0%B8%D0%B3%D0%B8%D0%B5%D0%BD%D0%B0.md`\r\n**LogWidget/criticalLog**: `true`\r\n**LogWidget/debugLog**: `true`\r\n**LogWidget/fatalLog**: `true`\r\n**LogWidget/infoLog**: `true`\r\n**LogWidget/scriptingLog**: `true`\r\n**LogWidget/statusLog**: `true`\r\n**LogWidget/warningLog**: `true`\r\n**MainWindow/geometry**: `<binary data>`\r\n**MainWindow/mainToolBar.iconSize**: `42`\r\n**MainWindow/menuBarGeometry**: `<binary data>`\r\n**MainWindow/noteTextEdit.code.font**: `Courier New,11,-1,2,50,0,0,0,0,0`\r\n**MainWindow/noteTextEdit.font**: `MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0`\r\n**MainWindow/noteTextView.code.font**: `Courier New,9,-1,2,50,0,0,0,0,0`\r\n**MainWindow/noteTextView.font**: `MS Shell Dlg 2,8.14286,-1,5,50,0,0,0,0,0`\r\n**MainWindow/noteTextView.rtl**: `false`\r\n**MainWindow/showNotesFromAllNoteSubFolders**: `false`\r\n**NoteDialog/geometry**: `<binary data>`\r\n**PiwikClientId**: `<hidden>`\r\n**ScriptRepositoryDialog/geometry**: `<binary data>`\r\n**ScriptRepositoryDialog/mainSplitterState**: `<binary data>`\r\n**SearchEngineId**: `0`\r\n**SettingsDialog/geometry**: `<binary data>`\r\n**SettingsDialog/mainSplitterState**: `<binary data>`\r\n**ShowSystemTray**: `false`\r\n**StartHidden**: `false`\r\n**TodoDialog/geometry**: `<binary data>`\r\n**TodoDialog/mainSplitterState**: `<binary data>`\r\n**TodoDialog/showCompletedItems**: `0`\r\n**TodoDialog/todoListSelectorSelectedItem**: `Личное`\r\n**UpdateDialog/geometry**: `<binary data>`\r\n**WelcomeDialog/geometry**: `<binary data>`\r\n**acceptAllExternalModifications**: `false`\r\n**allowDifferentNoteFileName**: `false`\r\n**allowNoteEditing**: `true`\r\n**allowOnlyOneAppInstance**: `true`\r\n**appMetrics/disableAppHeartbeat**: `false`\r\n**appMetrics/disableTracking**: `false`\r\n**appMetrics/notificationShown**: `true`\r\n**automaticNoteFolderDatabaseClosing**: `false`\r\n**closeTodoListAfterSave**: `false`\r\n**cryptoKey**: `<hidden>`\r\n**currentNoteFolderId**: `1`\r\n**currentWorkspace**: `7e3c68c8-49f7-4c80-ba10-06a8c3db230c`\r\n**cursorWidth**: `1`\r\n**customNoteFileExtensionList**: *empty*\r\n**darkMode**: `false`\r\n**darkModeColors**: `false`\r\n**darkModeTrayIcon**: `false`\r\n**defaultNoteFileExtension**: `md`\r\n**disableAutomaticUpdateDialog**: `false`\r\n**dockWasInitializedOnce**: `true`\r\n**externalEditorPath**: *empty*\r\n**fullyHighlightedBlockquotes**: `false`\r\n**gitCommitInterval**: `30`\r\n**gitExecutablePath**: *empty*\r\n**gitLogCommand**: *empty*\r\n**ignoreAllExternalModifications**: `false`\r\n**ignoreAllExternalNoteFolderChanges**: `false`\r\n**imageScaleDown**: `false`\r\n**imageScaleDownMaximumHeight**: `1024`\r\n**imageScaleDownMaximumWidth**: `1024`\r\n**insertTimeFormat**: *empty*\r\n**interfaceLanguage**: *empty*\r\n**internalIconTheme**: `false`\r\n**itemHeight**: `25`\r\n**localTrash/autoCleanupDays**: `30`\r\n**localTrash/autoCleanupEnabled**: `true`\r\n**localTrash/supportEnabled**: `true`\r\n**markdownHighlightingEnabled**: `true`\r\n**networking/ignoreSSLErrors**: `true`\r\n**networking/proxyType**: `2`\r\n**newNoteAskHeadline**: `false`\r\n**noteEditIsCentralWidget**: `true`\r\n**noteListPreview**: `false`\r\n**noteSaveIntervalTime**: `10`\r\n**noteSubfoldersPanelDisplayAsFullTree**: `true`\r\n**noteSubfoldersPanelHideSearch**: `false`\r\n**noteSubfoldersPanelOrder**: `0`\r\n**noteSubfoldersPanelShowFullPath**: `false`\r\n**noteSubfoldersPanelShowNotesRecursively**: `true`\r\n**noteSubfoldersPanelShowRootFolderName**: `true`\r\n**noteSubfoldersPanelSort**: `0`\r\n**notesPanelOrder**: `0`\r\n**notesPanelSort**: `0`\r\n**notesPath**: `C:/Users/serge/Nextcloud/Notes`\r\n**notifyAllExternalModifications**: `false`\r\n**ownCloud/password**: `<hidden>`\r\n**ownCloud/serverUrl**: `http://192.168.1.2:60080/nextcloud`\r\n**ownCloud/supportEnabled**: `true`\r\n**ownCloud/todoCalendarBackend**: `3`\r\n**ownCloud/todoCalendarCalDAVPassword**: `<hidden>`\r\n**ownCloud/todoCalendarCalDAVServerUrl**: *empty*\r\n**ownCloud/todoCalendarCalDAVUsername**: *empty*\r\n**ownCloud/todoCalendarDisplayNameList**: `Личное`\r\n**ownCloud/todoCalendarEnabledList**: `Личное`\r\n**ownCloud/todoCalendarEnabledUrlList**: `http://192.168.1.2:60080/nextcloud/remote.php/dav/calendars/Sergey/personal/`\r\n**ownCloud/todoCalendarUrlList**: `http://192.168.1.2:60080/nextcloud/remote.php/dav/calendars/Sergey/personal/`\r\n**ownCloud/userName**: `Sergey`\r\n**ownCloudInfo/appIsValid**: `true`\r\n**ownCloudInfo/connectionErrorMessage**: `Неизвестная ошибка`\r\n**ownCloudInfo/notesPathExistsText**: `yes`\r\n**ownCloudInfo/serverVersion**: `13.0.6.1`\r\n**previousWorkspace**: `63208677-c9ad-4f72-8e54-e29c661289d3`\r\n**restoreCursorPosition**: `true`\r\n**savedSearches/noteFolder-1**: `test-note, Все покупки, Гастрономия, Колониальные, Птица, Мясо, Кондитерские, Фрукты, Овощи, Заморозка, Молочные, Гигиена, Консервы, Табак, Хлопья, Приправы, Канцелярия`\r\n**showMenuBar**: `true`\r\n**showStatusBar**: `true`\r\n**tagWasAddedToNote**: `true`\r\n**taggingShowNotesRecursively**: `true`\r\n**tagsPanelHideSearch**: `false`\r\n**tagsPanelOrder**: `0`\r\n**tagsPanelSort**: `0`\r\n**toolbar/1/items**: `action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionOpen_List`\r\n**toolbar/1/name**: `mainToolBar`\r\n**toolbar/1/title**: `Главная панель инструментов`\r\n**toolbar/2/items**: `actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote`\r\n**toolbar/2/name**: `formattingToolbar`\r\n**toolbar/2/title**: `панель инструментов форматирования`\r\n**toolbar/3/items**: `actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time`\r\n**toolbar/3/name**: `insertingToolbar`\r\n**toolbar/3/title**: `панель инструментов вставки`\r\n**toolbar/4/items**: `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note`\r\n**toolbar/4/name**: `encryptionToolbar`\r\n**toolbar/4/title**: `панель инструментов шифрования`\r\n**toolbar/5/items**: `actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size`\r\n**toolbar/5/name**: `windowToolbar`\r\n**toolbar/5/title**: `панель инструментов окна`\r\n**toolbar/6/items**: `action_Quit`\r\n**toolbar/6/name**: `quitToolbar`\r\n**toolbar/6/title**: `Панель инструментов выхода`\r\n**toolbar/size**: `6`\r\n**useUNIXNewline**: `false`\r\n**workspace-63208677-c9ad-4f72-8e54-e29c661289d3/name**: `на весь экран`\r\n**workspace-63208677-c9ad-4f72-8e54-e29c661289d3/noteSubFolderDockWidgetVisible**: `true`\r\n**workspace-63208677-c9ad-4f72-8e54-e29c661289d3/windowState**: `<binary data>`\r\n**workspace-7e3c68c8-49f7-4c80-ba10-06a8c3db230c/name**: `минимальный`\r\n**workspace-7e3c68c8-49f7-4c80-ba10-06a8c3db230c/noteSubFolderDockWidgetVisible**: `true`\r\n**workspace-7e3c68c8-49f7-4c80-ba10-06a8c3db230c/windowState**: `<binary data>`\r\n**workspaces**: `63208677-c9ad-4f72-8e54-e29c661289d3, 7e3c68c8-49f7-4c80-ba10-06a8c3db230c`\r\n\r\n## System environment\r\n\r\n**ALLUSERSPROFILE**: `C:\\ProgramData`\r\n**APPDATA**: `C:\\Users\\serge\\AppData\\Roaming`\r\n**CARBON_MEM_DISABLE**: `1`\r\n**CommonProgramFiles**: `C:\\Program Files (x86)\\Common Files`\r\n**CommonProgramFiles(x86)**: `C:\\Program Files (x86)\\Common Files`\r\n**CommonProgramW6432**: `C:\\Program Files\\Common Files`\r\n**COMPUTERNAME**: `MOOMINPAPPA`\r\n**ComSpec**: `C:\\WINDOWS\\system32\\cmd.exe`\r\n**configsetroot**: `C:\\WINDOWS\\ConfigSetRoot`\r\n**DriverData**: `C:\\Windows\\System32\\Drivers\\DriverData`\r\n**FPS_BROWSER_APP_PROFILE_STRING**: `Internet Explorer`\r\n**FPS_BROWSER_USER_PROFILE_STRING**: `Default`\r\n**HOMEDRIVE**: `C:`\r\n**HOMEPATH**: `\\Users\\serge`\r\n**KOMPAS_SDK**: `C:\\Program Files\\ASCON\\KOMPAS-3D v17 Study\\SDK\\`\r\n**LOCALAPPDATA**: `C:\\Users\\serge\\AppData\\Local`\r\n**LOGONSERVER**: `\\\\MOOMINPAPPA`\r\n**NUMBER_OF_PROCESSORS**: `4`\r\n**OneDrive**: `C:\\Users\\serge\\OneDrive`\r\n**OS**: `Windows_NT`\r\n**Path**: `C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\PuTTY\\;C:\\Users\\serge\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;`\r\n**PATHEXT**: `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC`\r\n**PROCESSOR_ARCHITECTURE**: `x86`\r\n**PROCESSOR_ARCHITEW6432**: `AMD64`\r\n**PROCESSOR_IDENTIFIER**: `Intel64 Family 6 Model 142 Stepping 9, GenuineIntel`\r\n**PROCESSOR_LEVEL**: `6`\r\n**PROCESSOR_REVISION**: `8e09`\r\n**ProgramData**: `C:\\ProgramData`\r\n**ProgramFiles**: `C:\\Program Files (x86)`\r\n**ProgramFiles(x86)**: `C:\\Program Files (x86)`\r\n**ProgramW6432**: `C:\\Program Files`\r\n**PSModulePath**: `C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules`\r\n**PUBLIC**: `C:\\Users\\Public`\r\n**SESSIONNAME**: `Console`\r\n**SystemDrive**: `C:`\r\n**SystemRoot**: `C:\\WINDOWS`\r\n**TEMP**: `C:\\Users\\serge\\AppData\\Local\\Temp`\r\n**TMP**: `C:\\Users\\serge\\AppData\\Local\\Temp`\r\n**USERDOMAIN**: `MOOMINPAPPA`\r\n**USERDOMAIN_ROAMINGPROFILE**: `MOOMINPAPPA`\r\n**USERNAME**: `serge`\r\n**USERPROFILE**: `C:\\Users\\serge`\r\n**VBOX_MSI_INSTALL_PATH**: `C:\\Program Files\\Oracle\\VirtualBox\\`\r\n**windir**: `C:\\WINDOWS`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pbek/QOwnNotes/issues/comments/419627533","html_url":"https://github.com/pbek/QOwnNotes/issues/1017#issuecomment-419627533","issue_url":"https://api.github.com/repos/pbek/QOwnNotes/issues/1017","id":419627533,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTYyNzUzMw==","user":{"login":"Snousmoumryk","id":43047102,"node_id":"MDQ6VXNlcjQzMDQ3MTAy","avatar_url":"https://avatars3.githubusercontent.com/u/43047102?v=4","gravatar_id":"","url":"https://api.github.com/users/Snousmoumryk","html_url":"https://github.com/Snousmoumryk","followers_url":"https://api.github.com/users/Snousmoumryk/followers","following_url":"https://api.github.com/users/Snousmoumryk/following{/other_user}","gists_url":"https://api.github.com/users/Snousmoumryk/gists{/gist_id}","starred_url":"https://api.github.com/users/Snousmoumryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snousmoumryk/subscriptions","organizations_url":"https://api.github.com/users/Snousmoumryk/orgs","repos_url":"https://api.github.com/users/Snousmoumryk/repos","events_url":"https://api.github.com/users/Snousmoumryk/events{/privacy}","received_events_url":"https://api.github.com/users/Snousmoumryk/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T09:41:24Z","updated_at":"2018-09-08T09:41:24Z","author_association":"NONE","body":"> the links always work just in the current note folder...\r\n\r\nThat's fine and we can name it _feature_ but not a _bug_.\r\n\r\nWhy, then, the **app UI** (Ctrl-L menu) **allows user** to insert links to notes from a different folder?\r\n\r\nFollowing the logic in the quote above, such an attempt should be rejected with a warning message.\r\n"}}
{"actor":{"display_login":"Snousmoumryk"}}