question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

safari not support FormData.get

See original GitHub issue

in main.js line 373.

  function connect_without_options() {
    // use data from the form
    var form = document.querySelector(form_id),
        url = form.action,
        data = new FormData(form),
        pk = data.get('privatekey');

I’m writing a small tool supporting multi platform using webview. I like your webssh, I really need this, please fix it. I tried to fix, but I got “‘_xsrf’ argument missing from POST” after calling ajax_post. 哥们儿加油。

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
huashengduncommented, Sep 13, 2018

代码已经更新了,你测试下现在行不行。

1reaction
huashengduncommented, Sep 12, 2018

恩,我在js中使用两种不同类型的Form。

Read more comments on GitHub >

github_iconTop Results From Across the Web

formData get() Doesn't seem to work in Safari - Stack Overflow
I solved this by conditionally (if Safari is the browser) iterating through the elements property of an actual form.
Read more >
"formdata" | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Shiming Request.formData in Safari - Paul Kinlan
When reading the request data that is posted by the user from a Form, you can use the event.request.formData() method to get a...
Read more >
FormData.get() - Web APIs - MDN Web Docs
The get() method of the FormData interface returns the first value associated with a given key from within a FormData object.
Read more >
Safari form data - Apple Community
After upgrading to IOS 9, safari does not save the form data for my ... hand side tap 'Autofill' and make sure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found