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

Fixed issue 18821: Public url is not used for SURVEYURL #3371

Merged

Conversation

gabrieljenik
Copy link
Collaborator

  • Test for cretaePublicUrl and getPublicBaseUrl
  • Porting fix for LSYiiValidatorsTest::testXssFilterAttributeForSuperAdmin()
  • Porting fix about urls

Copy link
Collaborator

@Shnoulle Shnoulle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point of view : (see comment) : publicurl must be always used eve if it's broken.

tests/unit/LSYiiApplicationTest.php Show resolved Hide resolved
tests/unit/LSYiiApplicationTest.php Show resolved Hide resolved
$parameters = array('param_one' => 1, 'param_two' => 2);
$url = Yii::app()->createPublicUrl('controller/action', $parameters);

$expectedRelativeUrl = Yii::app()->createUrl('controller/action', $parameters);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

tests/unit/LSYiiApplicationTest.php Show resolved Hide resolved
@gabrieljenik
Copy link
Collaborator Author

This test is already merged on master.
v5 will be EOL soon, so, I wouldn't folllow up on this.

@Shnoulle
Copy link
Collaborator

Shnoulle commented May 1, 2024

This test is already merged on master.

OK, i think its a new test here :)

@Shnoulle Shnoulle added Code review done Version checked for code issue without testing and removed Needs code review labels May 1, 2024
@tiborpacalat tiborpacalat merged commit 2f32d91 into 5.x May 8, 2024
9 checks passed
@tiborpacalat tiborpacalat deleted the bug/18821-public-url-is-not-used-for-SURVEYURL-test-v5 branch May 8, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code review done Version checked for code issue without testing Has auto test
Projects
None yet
4 participants