mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 00:05:15 +02:00
Fixed autofill for HTTPS.
Added dummy API endpoint for autofill POST requests. Autofill also reads the CSRF token from cookies and doesn't require an 'about:blank' anymore on the forms.
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
//i.fa.fa-step-forward.pull-right(ng-click='forward()', title='{{"Go Forward"|translate}}')
|
||||
//i.fa.fa-step-backward.pull-right(ng-click='back()', title='{{"Go Back"|translate}}')
|
||||
.widget-content.padded
|
||||
form(enable-autofill, action='about:blank', ng-submit='openUrl($event)')
|
||||
//form(name='navigationForm', method='post', action='about:blank', target='_autofill')
|
||||
form(enable-autofill, ng-submit='openUrl()')
|
||||
.input-group.url-input-container
|
||||
input.form-control(type='text', name='textURL', placeholder='http://...',
|
||||
autocomplete='url', ng-model='textURL', text-focus-select,
|
||||
|
||||
Reference in New Issue
Block a user