Skip to content
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

Issue 502: Angularjs $location.search is not safe to use when passing '#'. #503

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

kaladay
Copy link
Contributor

@kaladay kaladay commented Jan 12, 2023

Description

This is the solution created while investigating the spike #492.

This addresses the problem by replacing the # (U+0023) character with %23 for relevant situations (properties in the search).

This needs to be tested for regressions, specifically checking for data in facets and filters that have the # (U+0023) character.

Fixes #502

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Manual
  • Front-end and Back-end tests run via mvn clean test.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

… '#'.

This addresses the problem by replacing the `#` (U+0023) character with `%23` for relevant situations (properties in the search).

This needs to be tested for regressions, specifically checking for data in facets and filters that have the `#` (U+0023) character.
@coveralls
Copy link

Coverage Status

Coverage: 45.252% (+0.04%) from 45.217% when pulling 47168a4 on 502-location_search_unsafe into b9bca09 on staging.

@kaladay kaladay linked an issue Jan 12, 2023 that may be closed by this pull request
@kaladay kaladay merged commit cb1bd3f into staging Jan 12, 2023
@kaladay kaladay deleted the 502-location_search_unsafe branch January 27, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angularjs $location.search is not safe to use when passing '#'.
3 participants