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

[2.4.*] Fix MakeViewVariableOptionalSolution to disallow stream wrappers and files that do not end in .blade.php #361

Closed
wants to merge 58 commits into from

Conversation

anasmirza534
Copy link
Contributor

I am getting error for passing null value to function that requires string.
previous pull request #356

Synchro and others added 30 commits September 9, 2020 10:04
The highlight package is no longer needed.
Super minor, I know...
Co-authored-by: Alex Pestell <me@alexpestell.com>
…files that do not end in .blade.php (facade#334)

* Disallow paths with a scheme in MakeViewVariableOptionalSolution

* Added a test unit for the solution

* Refactored code into a isSafePath() method

* Update MakeViewVariableOptionalSolution.php

Co-authored-by: cfreal <folcharles@ŋmail.com>
Co-authored-by: Freek Van der Herten <freek@spatie.be>
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.15.10 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](highlightjs/highlight.js@9.15.10...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* use livewire version of compiler engine if livewire present

* fixed class_exists to look for the right thing
Added support for the Nova text editor (nova.app) and updated the config comments to include it in the list of options.
freekmurze and others added 19 commits December 29, 2020 10:12
- Add optional log recorder limit to prevent memory leaks. Especially noticable during long running tasks or daemons.
- Rewrote query recorder to not tigthly couple it with the framework container when deciding whether to include bindings or limit the maximum query count that is recorded.
- Added a config flag to disable log recording all together.
- Made sure that query and log recorders are not used when their enable flag is disabled.
facade/ignition#302: Fix memory leaks caused by log and query recorder
…files that do not end in .blade.php

This is already fixed in 2.5.2, See facade#334

I could not update to 2.5.2 due to some dependent package required php 7.3, currently clients site is running in php 7.2

On branch 2.4.1-branch
Changes to be committed:
	modified:   src/Solutions/MakeViewVariableOptionalSolution.php
@AlexVanderbist AlexVanderbist changed the base branch from master to 2.4.x March 10, 2021 09:02
@AlexVanderbist AlexVanderbist changed the base branch from 2.4.x to master March 10, 2021 09:02
@AlexVanderbist
Copy link
Contributor

Hey, does this fix a general bug on the latest version or is this something meant for the 2.4.x branch related to the previous PR? Can you add a test for this too please?

@anasmirza534
Copy link
Contributor Author

Hi there,

Yes, this pull request is for 2.4.x branch and related to previous PR.

Also don't upgrade facade/ignition-contracts package for this branch, that required latest version of PHP, I had set version to "facade/ignition-contracts": "^1.0.1"

As requested I added tests and refactor code, hope this could work.

@AlexVanderbist AlexVanderbist changed the title 2.4.1 branch [2.4.*] Fix MakeViewVariableOptionalSolution to disallow stream wrappers and files that do not end in .blade.php Apr 8, 2021
@AlexVanderbist
Copy link
Contributor

Hi again! Thanks for adding tests and clarifying. Can you change the PR or recreate it to merge into the 2.4.* branch instead of master? 2.4.* branch is https://github.com/facade/ignition/tree/2.4.x

@anasmirza534 anasmirza534 changed the base branch from master to 2.4.x April 16, 2021 14:40
@anasmirza534
Copy link
Contributor Author

I changed target branch as requested, does this work?

@freekmurze
Copy link
Collaborator

Closing this due to too much unrelated changes in the PR.

@freekmurze freekmurze closed this May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet