Commit Graph

10 Commits (5fc4ae7c5f9667b335e63f97cacaa1efe5f7a6d5)

Author SHA1 Message Date
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ()
Matt Jankowski c97b611b6b
Fix RSpec/InferredSpecType cop ()
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject ()
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length ()
David Leadbeater 69378eac99
Don't allow URLs that contain non-normalized paths to be verified ()
* Don't allow URLs that contain non-normalized paths to be verified

This stops things like https://example.com/otheruser/../realuser where
"/otheruser" appears to be the verified URL, but the actual URL being
verified is "/realuser" due to the "/../".

Also fix a test to use 'https', so it is testing the right thing, now
that since  https is required.

* missing do
Emily Strickland c2231539c7
Test blank account field verifiability ()
* Test blank account field verifiability

This change tests the need for , which ensures that we guard against a situation in which `at_xpath` returns `nil`.

* Test verifiability of blank fields for remote account profiles

This adds a counterpart test for remote account profiles' fields' verifiability when those fields are blank. I previously added the same test for local accounts.
Eugen Rochko 9965a23b04
Change link verification to ignore IDN domains ()
Fix 
Eugen Rochko e98833748e
Fix being able to spoof link verification ()
- Change verification to happen in `default` queue
- Change verification worker to only be queued if there's something to do
- Add `link` tags from metadata fields to page header of profiles