tasks icon indicating copy to clipboard operation
tasks copied to clipboard

Creating tasks with [URIs with fragments] in their titles causes the URI fragment to be stripped and converted into a tag, with that tag applied to the task.

Open RokeJulianLockhart opened this issue 10 months ago • 0 comments

Steps to reproduce

Create a task with the undermentioned title:

Read https://github.com/pbatard/rufus/issues/1617#issuecomment-691465833:~:text=Why%20are%20you%20assuming%20I,I%20will%20close%20this%20issue.

Expected behavior

The fragment should not be stripped, and no tag should be created, much less applied to the created task.

Actual behaviour

Tasks with URIs with fragments (#) in their titles:

  1. Automatically add the fragment's content as a tag, and apply that tag to the task.
  2. Strip the fragment from the URI.

In the previous example:

Read https://github.com/pbatard/rufus/issues/1617#issuecomment-691465833:~:text=Why%20are%20you%20assuming%20I,I%20will%20close%20this%20issue.

...#issuecomment-691465833:~:text=Why%20are%20you%20assuming%20I,I%20will%20close%20this%20issue is created as a new tag, applied to the task, and the URI becomes merely https://github.com/pbatard/rufus/issues/1617.

Tasks app version

I am unable to access this information.

CalDAV-clients used

DAVx5 4.4.6:

versionName: 4.4.6-ose

^10

Browser

Firefox Desktop Stable 134.0.2:

    1. #!/usr/bin/env sh
      dnf5 --refresh provides firefox
      
    2. Updating and loading repositories:
       Fedora 41 - x86_64 - Updates                                                                                                                                                                                                                                                      100% |   3.3 MiB/s |  28.7 MiB |  00m09s
       RPM Fusion for Fedora 41 - Free tainted                                                                                                                                                                                                                                           100% |  61.7 KiB/s |  16.1 KiB |  00m00s
       warpdotdev                                                                                                                                                                                                                                                                        100% |  11.9 KiB/s |   5.1 KiB |  00m00s
       RPM Fusion for Fedora 41 - Nonfree - Updates                                                                                                                                                                                                                                      100% | 202.7 KiB/s | 113.3 KiB |  00m01s
       RPM Fusion for Fedora 41 - Free                                                                                                                                                                                                                                                   100% | 973.2 KiB/s | 645.2 KiB |  00m01s
       RPM Fusion for Fedora 41 - Free - Updates                                                                                                                                                                                                                                         100% | 713.1 KiB/s | 195.4 KiB |  00m00s
       ProtonVPN Fedora Beta repository                                                                                                                                                                                                                                                  100% | 104.8 KiB/s |  31.9 KiB |  00m00s
       Visual Studio Code                                                                                                                                                                                                                                                                100% |   3.2 MiB/s |   6.1 MiB |  00m02s
       google-chrome-canary                                                                                                                                                                                                                                                              100% |  22.3 KiB/s |   8.1 KiB |  00m00s
       RPM Fusion for Fedora 41 - Nonfree tainted                                                                                                                                                                                                                                        100% |  73.4 KiB/s |  18.6 KiB |  00m00s
       Copr repo for Koi owned by birkch                                                                                                                                                                                                                                                 100% |   8.4 KiB/s |   5.2 KiB |  00m01s
       RPM Fusion for Fedora 41 - Nonfree                                                                                                                                                                                                                                                100% | 563.1 KiB/s | 335.0 KiB |  00m01s
       Fedora 41 - x86_64                                                                                                                                                                                                                                                                100% |   3.4 MiB/s |  62.0 MiB |  00m18s
       Fedora 41 openh264 (From Cisco) - x86_64                                                                                                                                                                                                                                          100% |   7.9 KiB/s |   8.6 KiB |  00m01s
      Repositories loaded.
      firefox-134.0.2-1.fc41.x86_64 : Mozilla Firefox Web browser
      Repo         : @System
      Matched From : 
      Provide      : firefox = 134.0.2-1.fc41
      
      firefox-134.0.2-1.fc41.x86_64 : Mozilla Firefox Web browser
      Repo         : updates
      Matched From : 
      Provide      : firefox = 134.0.2-1.fc41
      
      firefox-131.0.2-1.fc41.x86_64 : Mozilla Firefox Web browser
      Repo         : fedora
      Matched From : 
      Provide      : firefox = 131.0.2-1.fc41
      
    1. #!/usr/bin/env sh
      rpm -qa firefox
      
    2. firefox-134.0.2-1.fc41.x86_64
      

      ^9

    1. #!/usr/bin/env sh
      dnf --refresh info firefox-134.0.2-1.fc41.x86_64
      
    2. Name            : firefox
      Epoch           : 0
      Version         : 134.0.2
      Release         : 1.fc41
      Architecture    : x86_64
      Installed size  : 229.6 MiB
      Source          : firefox-134.0.2-1.fc41.src.rpm
      From repository : @stored_transaction
      URL             : https://www.mozilla.org/firefox/
      Vendor          : Fedora Project
      

Client operating system

Fedora 41 KDE Spin:

  1. #!/usr/bin/env sh
    cat /etc/os-release | grep -E CPE_NAME
    
  2. CPE_NAME="cpe:/o:fedoraproject:fedora:41"
    

    ^8

Web server

"Nginx" ^5

Nextcloud version

"28.0.12.2" [^2] or "29.0.11.1" [^3]

Updated from an older installed version or fresh install

Updated from an older version

Browser log

  1. HAR (JSON) from "Network" Tab

    wim.nl.tab.digital_Archive [25-02-05 15-09-34].har

  2. .log from "Console" Tab

    14:28:55.151 undefined
    14:28:57.226 This task did not have a proper uid. Setting a new one for  
    Object { jCal: (3) […], calendar: Proxy, vCalendar: {…}, subTasks: {}, conflict: false, vtodo: {…} }
    store-BBMiux8F.chunk.mjs:502:1449
    14:28:57.230 XHRPUT
    https://wim.nl.tab.digital/remote.php/dav/calendars/rokejulianlockhart/3de72895-d345-4ac4-8eec-1418e857ba7e/E189E2C0-3D8D-485B-AA71-6BC26D216A4C.ics
    [HTTP/2 201  185ms]
    
    14:28:57.419 XHRPROPFIND
    https://wim.nl.tab.digital/remote.php/dav/calendars/rokejulianlockhart/3de72895-d345-4ac4-8eec-1418e857ba7e/E189E2C0-3D8D-485B-AA71-6BC26D216A4C.ics
    [HTTP/2 207  98ms]
    
    14:29:53.181 Source map error: NetworkError when attempting to fetch resource.
    Resource URL: moz-extension://5ea4cfc6-71d7-43e8-b834-d4a4b7707943/shopifyContent.js
    Source Map URL: shopifyContent.js.map
    14:30:30.913 XHRGET
    https://wim.nl.tab.digital/ocs/v2.php/apps/notifications/api/v2/notifications
    [HTTP/2 304  125ms]
    
    14:31:01.150 XHRGET
    https://wim.nl.tab.digital/ocs/v2.php/apps/notifications/api/v2/notifications
    [HTTP/2 304  542ms]
    

Additional info

[^2]: scan.nextcloud.com/results/e251f480-ae2b-4298-a7c0-2eee1336012d ^7

[^3]: wim.nl.tab.digital/status.php ^4

RokeJulianLockhart avatar Feb 05 '25 14:02 RokeJulianLockhart