Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving string output without redirection #7

Closed
ozh opened this issue Apr 6, 2013 · 0 comments

Comments

@ozh
Copy link
Member

commented Apr 6, 2013

This is a COPY of Issue 7: Receiving string output without redirection, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

**What steps will reproduce the problem?**
1. Logged into admin on elp.cc
2. Created several test URL's
3. Enter test URL's in Firefox 3.0.11, IE8, Safari.

**What is the expected output? What do you see instead?**
Expected to be redirected to longurl ;)

Instead, elp.cc loads with string(20) "http://lynnepope.net" where elp.cc/1
and string(21) "http://lynnepope.net/" where elp.cc/me

It's giving a 200 header response but no redirect is taking place.

**What version of the product are you using? On what operating system?**
Version 1.1
Apache version  2.0.63

PHP version 5.2.8 (safe mode not on)

MySQL version   4.1.22-standard
(Running database with default charset 'utf8' default collate
'utf8_general_ci')

Operating system Linux (CENTOS 4.7)

**Please provide any additional information below.**
I tested perms on .htaccess by adding other directives that require
mod_rewrite - they all worked.

@ozh ozh closed this Apr 6, 2013

LeoColomb pushed a commit that referenced this issue Nov 28, 2017

Merge pull request #7 from YOURLS/phpunit6compat
PHPUnit 6 compat stuff

In order to make different versions of PHP and PHPUnit coexist, you either need something like this (tests written for PHPUnit 5.7 and prior run on PHPUnit 6), or to force PHPUnit to a different version, see this: f1fd931

dgw pushed a commit to dgw/YOURLS that referenced this issue Feb 27, 2018

Merge pull request YOURLS#7 from tipichris/patch-1
Allow character to appear more than once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.