Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Avoid using request.url in the form, rely on url_for instead
Browse files Browse the repository at this point in the history
  • Loading branch information
pypingou committed May 15, 2014
1 parent cc63d3e commit d67b532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgdb2/templates/branch_selection.html
Expand Up @@ -20,8 +20,8 @@ <h1>
to {{ action }}
</h1>


<form action="{{ request.url }}" method="post">
<form action="{{ url_for(
'.package_%s' % action, package=package.name, full=full) }}" method="post">
<table>
{{ render_field_in_row(form.branches) }}
</table>
Expand Down

0 comments on commit d67b532

Please sign in to comment.