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

Improve short-url redirect validation #84366

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

jportner
Copy link
Contributor

This validation is now in line with other URL validation throughout Kibana.

Also improved unit tests to differentiate how the validation occurs.

This validation is now in line with other URL validation
throughout Kibana.
@jportner jportner added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Nov 25, 2020
@jportner jportner requested a review from a team as a code owner November 25, 2020 19:52
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM

@jportner jportner merged commit 4d8b7f9 into elastic:master Nov 26, 2020
@jportner jportner deleted the tweak-short-url-validator branch November 26, 2020 15:51
gmmorris added a commit to gmmorris/kibana that referenced this pull request Nov 30, 2020
* master:
  [Security Solution] Exceptions Cypress tests (elastic#81759)
  [ML] Fix spaces job ID check (elastic#84404)
  [Security Solution][Detections] Handle dupes when processing threshold rules (elastic#83062)
  skip flaky suite (elastic#84440)
  skip flaky suite (elastic#84445)
  [APM] Fix missing `service.node.name` (elastic#84269)
  Upgrade fp-ts to 2.8.6 (elastic#83866)
  Added data streams privileges to better control delete actions in UI (elastic#83573)
  Improve short-url redirect validation (elastic#84366)
  TSVB offsets (elastic#83051)
  [Discover] Fix navigating back when changing index pattern (elastic#84061)
  [Logs UI] Polish the UI for the log entry examples in the anomaly table (elastic#82139)
  [Logs UI] Limit the height of the "view in context" container (elastic#83178)
  [Application Usage] Update `schema` with new `fleet` rename (elastic#84327)
  fix identation in list (elastic#84301)
jportner added a commit to jportner/kibana that referenced this pull request Nov 30, 2020
# Conflicts:
#	src/plugins/share/server/routes/lib/short_url_assert_valid.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported release_note:skip Skip the PR/issue when compiling release notes v7.10.2 v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants