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:
Gunther Brunner
2015-01-06 18:35:23 +09:00
parent 3e2628b235
commit 91b1861d8d
8 changed files with 46 additions and 14 deletions

View File

@@ -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,