瀏覽代碼

Force form target, fixes #243

Jordi Boggiano 13 年之前
父節點
當前提交
db684dbe98
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Packagist/WebBundle/Resources/views/Web/submitPackage.html.twig

+ 1 - 1
src/Packagist/WebBundle/Resources/views/Web/submitPackage.html.twig

@@ -8,7 +8,7 @@
     <div class="box clearfix">
         <h1>Submit package</h1>
         <p>Please make sure you have read the package <a href="{{ path('about') }}">naming conventions</a> before submitting your package. The authoritative name of your package will be taken from the composer.json file inside the master branch or trunk of your repository, and it can not be changed after that.</p>
-        <form id="submit-package-form" action="" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
+        <form id="submit-package-form" action="{{ path('submit') }}" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
             <div>
                 <p>
                     {{ form_label(form.repository, "Repository URL (Git/Svn/Hg)") }}