Skip to content

jQuery script hash doesn't match on php.net/manual/add-note.php, so no jQuery. Previewing note wipes query params for the note's destination page. #687

Open
@televators

Description

@televators

Was writing out a note to add to the array_filter() page and when I hit the Preview button under the text field, it just refreshes the page and loses all query params. Checked console and looks like the jQuery script tag's sha384 hash doesn't match and so jQuery isn't loaded on the page.

EDIT: Was playing around more and realized Preview feature doesn't work unless you do the math captcha thing, which I assumed was only needed to submit. So, I can preview my note, but the page still refreshes with all query params missing. Not sure if the jQuery thing and the loss of query params thing is related.

Here's the console output:

None of the “sha384” hashes in the integrity attribute match the content of the subresource. add-note.php
Uncaught TypeError: can't access property "isArray", c is undefined
    <anonymous> https://www.php.net/cached.php?t=1421837618&f=/js/ext/typeahead.min.js:1
    <anonymous> https://www.php.net/cached.php?t=1421837618&f=/js/ext/typeahead.min.js:1
cached.php:1:383
Uncaught ReferenceError: jQuery is not defined
    <anonymous> https://www.php.net/cached.php?t=1653918602&f=/js/search.js:403
cached.php:403:1
Uncaught ReferenceError: jQuery is not defined
    <anonymous> https://www.php.net/cached.php?t=1637324403&f=/js/common.js:18
    <anonymous> https://www.php.net/cached.php?t=1637324403&f=/js/common.js:18
cached.php:18:147
    <anonymous> https://www.php.net/cached.php?t=1637324403&f=/js/common.js:18
    <anonymous> https://www.php.net/cached.php?t=1637324403&f=/js/common.js:18

I'm on Firefox 102.0b3 (64-bit) on Windows 10.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions