-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trailing slashes are silently removed from filter strings #55975
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Comments
rouault
added a commit
to rouault/QGIS
that referenced
this issue
Jan 24, 2024
…atasource URI (fixes qgis#55975)
rouault
added a commit
to rouault/QGIS
that referenced
this issue
Jan 24, 2024
…use QgsProviderRegistry relativeToAbsoluteUri/absoluteToRelativeUri() Fixes qgis#55975
nyalldawson
pushed a commit
that referenced
this issue
Jan 25, 2024
…use QgsProviderRegistry relativeToAbsoluteUri/absoluteToRelativeUri() Fixes #55975
qgis-bot
pushed a commit
that referenced
this issue
Jan 25, 2024
…use QgsProviderRegistry relativeToAbsoluteUri/absoluteToRelativeUri() Fixes #55975
nyalldawson
pushed a commit
that referenced
this issue
Jan 25, 2024
…use QgsProviderRegistry relativeToAbsoluteUri/absoluteToRelativeUri() Fixes #55975
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug or the crash?
Trailing slashes are silently removed from filter strings
From my tests this is:
Steps to reproduce the issue
/* test1 */ true /* test2 */
The filter is now missing the trailing slash:
/* test1 */ true /* test2 *
If there were multiple trailing slashes, they are all gone now. E.g.
/* test1 */ true /* test2 */////
gets saved as/* test1 */ true /* test2 *
too.This does not happen for the built-in "world" geopackage.
It does happen if said geopackage is saved as independent file.
It also happens with memory layers.
Project .qgs example with the built-in world_map.gpkg where this bug does not occur
Project .qgs with a copy of world_map.gpkg where this bug does occur
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Active Python plugins
MetaSearch
0.3.6
db_manager
0.1.20
grassprovider
2.12.99
processing
2.12.99
Supported QGIS version
New profile
Additional context
This has broken our magnificient https://plugins.qgis.org/plugins/spatial_filter/ plugin :,(
The text was updated successfully, but these errors were encountered: