Project

General

Profile

Actions

Feature #1984

closed

Allow CP Voucher submission via URL so they can be distributed as QR code

Added by Dim Hatz about 13 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Captive Portal
Target version:
Start date:
10/29/2011
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

In addition to the web form, allow the submission of voucher via URL e.g.

http://pfsenseip:8000/index.php?redirurl=xyz&v=voucher

Considering the numerous forum posts about shortening pfsense vouchers and the proliferation of handheld devices with bar-code scanning apps, it'd be cool to be able to distribute vouchers as a URL stored in QR code.

Quoting from http://en.wikipedia.org/wiki/QR_code

apps for scanning QR codes can be found on nearly all smartphone devices. QR codes storing addresses and Uniform Resource Locators (URLs) may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might need information. Users with a camera phone equipped with the correct reader application can scan the image of the QR code to display text, contact information, connect to a wireless network, or open a web page in the telephone's browser.

During the month of June 2011, according to one study, 14 million mobile users scanned a QR code or a barcode. Some 58% of those users scanned a QR or bar code from their home, while 39% scanned from retail stores; 53% of the 14 million users were men between the ages of 18 and 34.

While the adoption of QR codes in some markets has been slow to begin (particularly in markets such as the United States, where competing standards such as Data Matrix exist), the technology is gaining some traction in the smartphone market. Many Android, Nokia, Blackberry handsets, and the Nintendo 3DS, come with QR code readers installed. QR reader software is available for most mobile platforms. Moreover, there are a number of online QR code generators which enable users to create QR codes for their own needs.


Files

result.png (42.3 KB) result.png Alhusein Zawi, 11/28/2020 09:36 PM
Actions #1

Updated by Viktor Gurov over 4 years ago

This PR allow the submission of voucher via such URL:

http://pfsenseip:8002/index.php?zone=zone_name&redirurl=redir_url&voucher=voucher_code

https://github.com/pfsense/pfsense/pull/4326

Actions #2

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0
Actions #3

Updated by Renato Botelho about 4 years ago

  • Assignee set to Viktor Gurov

Viktor, could you please update PR with changes suggested by jimp?

Actions #4

Updated by Renato Botelho about 4 years ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov about 4 years ago

  • % Done changed from 0 to 100
Actions #8

Updated by Jim Pingle almost 4 years ago

  • Status changed from Feedback to Pull Request Review
Actions #9

Updated by Renato Botelho almost 4 years ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

Actions #10

Updated by Viktor Gurov almost 4 years ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20201203.0939
I can use link "http://192.168.0.1:8002/index.php?zone=cpzone1&redirurl=http://slackware.org&voucher=vsdR76cLUYd3" to fill in the voucher code and successfully login

Actions

Also available in: Atom PDF