Fix generated fronted urls#1925
Conversation
|
We have a share card url button in the android app. Are you aware of any change of the URL format across the different server versions? |
Codecov Report
@@ Coverage Diff @@
## master #1925 +/- ##
==========================================
- Coverage 56.92% 56.92% -0.01%
==========================================
Files 77 77
Lines 3840 3842 +2
==========================================
+ Hits 2186 2187 +1
- Misses 1654 1655 +1 |
|
Doesn't this miss OCA\Deck\Activity\DeckProvider::deckUrl or are those bang-prefixed URL fragment identifiers still recognised? |
Yeah, unfortunately there is not much we can do there since vue-router has removed the support for the hashbang prefixing. Maybe we should provide a server side unique link to cards that can then adapt to whatever the frontend is doing (similar to the files apps /f/{fileid}).
Ah nope, good catch. |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
a678843 to
6910ba9
Compare
Okay, so there actually is a change. Can you please tell me how the link looks across the different server app versions, for example: Then i am able take care that copying URLs will work with each server version.
This makes sense to prevent broken bookmark links. But you should ensure that this won't result in additional request with a redirect for the web UI users. |
|
See #1977 for the details and a fallback for the old routes. |
Fix #1916
Fix #1922